<!DOCTYPE html>
<html lang="en">
<head>

    <meta charset="UTF-8">
    <title>测试报告</title>
       <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.5.0/css/bootstrap.min.css">
    <script src=" https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/echarts/5.1.2/echarts.min.js"></script>
    <!--    页面样式-->
    <style type="text/css">
        /*标题样式*/

        .main {
            background: rgba(7, 10, 88, 0.99);
        }

        .title {
            width: auto;
            height: 80px;
            text-align: center;
            font: bolder 30px/80px "Microsoft YaHei UI";
            color: #fff;
            background: rgba(3, 14, 70, 0.5);
            border-bottom: solid 1px rgb(3, 14, 70);
            margin-bottom: 10px;
        }

        .content-box {
            height: 700px;
            width: 100%;
            display: flex;
            margin-bottom: 10px;
        }

        .box1 {
            flex: 3;
        }

        .box2 {
            flex: 5;
            margin: 0 10px;
        }

        .box3 {
            flex: 4;
        }

        .panel {
            position: relative;
            border: 1px solid rgba(25, 186, 139, 0.17);
            background: rgba(3, 14, 70, 0.5);
            padding: 0 10px 50px;
            margin-bottom: 10px;
        }

        .panel h2, .test_info h2 {
            height: 40px;
            line-height: 40px;
            text-align: center;
            color: #007bff;
            font-size: 20px;
            font-weight: bold;
            margin: 0;
        }

        .panel .chart {
            height: 250px;
        }

        .panel .chart2 {
            height: 350px;
        }

        .panel .desc {
            height: 150px;
        }

        .panel .desc .info {
            font: normal 18px/25px "Microsoft YaHei UI";
            color: #fff;
            display: flex;
        }

        .panel .desc .info div {
            padding: 10px;
            border: solid 1px #6c757d;
        }

        .panel .desc .info div span {
            margin-left: 20px;
        }


        /* 执行信息样式   */
        .test_info {
            width: 100%;
            padding: 20px 100px;
            background: rgba(3, 14, 70, 0.5);

        }

        .table td, .table th {
            border: solid 1px #5765a4 !important;
            padding: 0 !important;
            line-height: 40px;
            text-align: center;
            height: 40px;
            color: #fff;
        }

        select {
            border: 0;
            padding: 0;
            margin: 0;
            height: 2em;
            width: 8em;
            margin-left: 2em;
        }

        option {
            text-align: center;
            height: 36px;
            font: none 18px/36px "Microsoft YaHei UI";
            color: #28a745 !important;
        }

        .test_log {
            background: rgba(163, 171, 189, 0.15);
            width: 100%;
            height: 50px;
            border-top: none;
            border-bottom: none;
            display: none;
            text-align: left;
        }

        .test_log td {
            text-align: left;
            height: 30px;
            margin: 0;
            padding-left: 3em;
            padding-right: 3em;
            font: none 18px/24px "Microsoft YaHei UI";
        }

        pre {
            margin: 0;
            white-space: pre-wrap;
            white-space: -moz-pre-wrap;
            white-space: -o-pre-wrap;
            word-wrap: break-word;
            color: #fff;
            line-height: 22px;
            font-size: 14px
        }

        .chart4 {
            overflow: auto;
            width: 100%;
            height: 600px;

        }

        .chart4::-webkit-scrollbar {
            width: 10px;

        }

        .chart4::-webkit-scrollbar-thumb {
            /*滚动条里面小方块*/
            border-radius: 5px;
            -webkit-box-shadow: inset 0 0 5px rgba(4, 0, 225, 0.62);
            background: #272789;
            height: 10px;

        }

        .chart4::-webkit-scrollbar-track {
            /*滚动条里面轨道*/
            -webkit-box-shadow: inset 0 0 5px rgba(0, 21, 255, 0.54);
            border-radius: 10px;
            background: rgba(214, 214, 214, 0.64);

        }

        /*详细内容描述的小标题*/
        .table_title {
            text-align: center;
            background: rgba(1, 2, 37, 0.72);
            font: bold 18px/30px 'Microsoft YaHei UI';
            color: #fff;
            border-radius: 10px
        }

    </style>

</head>
<body>
<div class="main">
    <div class="title">
        测试报告
    </div>
    <div class="content-box">
        <div class="box1">
            <div class="panel">
                <h2>执行结果</h2>
                <div class="chart" id="char3"></div>
                <div class="panel-footer"></div>
            </div>
            <div class="panel ">
                <h2>成功占比</h2>
                <div class="chart" id="char1"></div>
                <div class="panel-footer"></div>
            </div>
        </div>
        <div class="box2">
            <div class="panel">
                <h2>运行信息</h2>
                <div class="desc">

                    <div class="info">
                        <div style="flex:5">
                            <button type="button" class="btn btn-primary btn-sm">开始时间</button>
                            <span>2024-09-23 15:10:53</span>
                        </div>
                        <div style="flex:5">
                            <button type="button" class="btn btn-primary btn-sm">用例总数</button>
                            <span>102</span>
                        </div>
                    </div>
                    <div class="info">
                        <div style="flex:5">
                            <button type="button" class="btn btn-primary btn-sm">运行时长</button>
                            <span>45.466580 S</span>
                        </div>
                        <div style="flex:5">
                            <button type="button" class="btn btn-primary btn-sm ">测试人员</button>
                            <span>小测试</span>
                        </div>
                    </div>
                    <div class="info">
                        <div style="flex:5">
                            <button type="button" class="btn btn-primary btn-sm">成功用例</button>
                            <span>48</span>
                        </div>
                        <div style="flex:5">
                            <button type="button" class="btn btn-primary btn-sm ">通过率</button>
                            <span>47.06%</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="panel">
                <h2>通过率趋势图</h2>
                <div class="chart2" id="char2"></div>
            </div>
        </div>
        <div class="box3">
            <div class="panel">
                <h2>历史构建结果</h2>
                <div class="chart4">
                    <table class="table" style="color: #d6d6d6;padding: 0">
                        <thead>
                        <tr>
                            <th scope="col">执行时间</th>
                            <th scope="col">用例总数</th>
                            <th scope="col">成功用例数</th>
                            <th scope="col">通过率</th>
                        </tr>
                        </thead>
                        <tbody>
                        
                        <tr>
                            <th scope="row">2024-09-23 15:10:53</th>
                            <td>102</td>
                            <td>48</td>
                            <td>47.06%</td>
                        </tr>
                        
                        </tbody>
                    </table>

                </div>
            </div>

        </div>
    </div>

    <div class="test_info">
        <h2>本次运行详情</h2>
        <div class="table_data">

            <table class="table" style="color: #fff">
                <thead class="text-light" style="background: rgba(3, 14, 70, 0.5)">
                <tr>
                    <th scope="col" style="width: 5%;padding: 0">编号</th>
                    <th scope="col" style="width: 20%;padding: 0">
                        <span>用例模块</span>
                        <select id="testClass">
                            <option>所有</option>
                            
                            <option value="caseexternaApitest_editVulTagpy">case\externaApi\test_editVulTag.py</option>
                            
                            <option value="caseexternaApitest_createProjectByVoidpy">case\externaApi\test_createProjectByVoid.py</option>
                            
                            <option value="caseinternalApitest_datacenterpy">case\internalApi\test_datacenter.py</option>
                            
                            <option value="caseinternalApitest_createProjectTaskpy">case\internalApi\test_createProjectTask.py</option>
                            
                            <option value="caseinternalApitest_internalApi_casepy">case\internalApi\test_internalApi_case.py</option>
                            
                            <option value="caseexternaApitest_getOrgListpy">case\externaApi\test_getOrgList.py</option>
                            
                            <option value="caseexternaApitest_whiteCreatepy">case\externaApi\test_whiteCreate.py</option>
                            
                            <option value="caseexternaApitest_getListDetailByVulDataIdpy">case\externaApi\test_getListDetailByVulDataId.py</option>
                            
                            <option value="caseexternaApitest_getVoucherListpy">case\externaApi\test_getVoucherList.py</option>
                            
                            <option value="caseexternaApitest_getVulDatapy">case\externaApi\test_getVulData.py</option>
                            
                            <option value="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</option>
                            
                            <option value="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</option>
                            
                            <option value="caseinternalApitest_userpy">case\internalApi\test_user.py</option>
                            
                            <option value="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</option>
                            
                        </select>

                    </th>
                    <th scope="col" style="width: 15%;padding: 0">测试方法</th>
                    <th scope="col" style="width: 20%;padding: 0">用例描述</th>
                    <th scope="col" style="width: 10%;padding: 0">执行时间</th>
                    <th scope="col" style="width: 20%;padding: 0">

                        <span>执行结果</span>
                        <select id="testResult">
                            <option>所有</option>
                            <option class="text-success">成功</option>
                            <option class="text-danger">失败</option>
                            <option class="text-warning">错误</option>
                            <option class="text-info">跳过</option>
                        </select>

                    </th>
                    <th scope="col" style="width: 10%;padding: 0">详细信息</th>
                </tr>
                </thead>
                <tbody>
                
                <tr class="case_">
                    <td>1</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test22</td>
                    <td>None</td>
                    <td>0.000668</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">E:\学习项目\CodesecApi\case\externaApi\test_data\test_data.csv
['case_name: projectName_项目名不能为空', 'case_name: projectName_toolong:512', 'case_name: projectNametooshort', 'case_name: projectName_onlyspace', 'case_name: projectNam_Contains special characters', 'case_name: projectName_two characters', 'case_name: projectName_512characters', 'case_name: projectName_space and characters', 'case_name: projectDesc_null', 'case_name: projectDesc_toolong 513characters', 'case_name: projectDesc_onlyspace', 'case_name: projectDesc_Contains special characters', 'case_name: projectDesc_two characters', 'case_name: projectDesc_500characters', 'case_name: url_ok', 'case_name: url_null', 'case_name: url format error', 'case_name: url_contains space', 'case_name: url_characters too long', 'case_name: url_contains special characters', 'case_name: urlHead=0', 'case_name: urlHead=1', 'case_name: urlHead=2', 'case_name: urlHead_null', 'case_name: urlHead_illegal', 'case_name: gitType1_gitlab', 'case_name: gitType2_github', 'case_name: gitType3_gitee', 'case_name: gitType6_gerrit', 'case_name: gitType7_bitbucket', 'case_name: gitType4', 'case_name: gitType_illegal', 'case_name: gitType_null', 'case_name: authenticationMethod=0', 'case_name: authenticationMethod=1', 'case_name: authenticationMethod=2', 'case_name: authenticationMethod=3', 'case_name: authenticationMethod_null', 'case_name: username_null']
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>2</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectName_项目名不能为空</td>
                    <td>0.489544</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目名称必须由2-512个字符组成。, projectName：该字段不能为空。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '1dddb32a6a4208d86be944de341a460441b656a0bde292096dd0aa0115cca057',
 'x-cs-timestamp': '1727075454630'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'vWb/geYyD2bG3GID/WKXT2SZnNcKf1a9gGc1GR2iviKaRp+/G6wFiniPHgvnDHrcbaRi/mwn6tFSZPvt0dsvk/3uD/tP70RwmcR0Khjnl3CJP+342kYcmQ1MAATXRFw62UL62TtV97SM+MJTZsGDea+txRinGcJcoI/mcektWjY=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': '',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=vWb/geYyD2bG3GID/WKXT2SZnNcKf1a9gGc1GR2iviKaRp+/G6wFiniPHgvnDHrcbaRi/mwn6tFSZPvt0dsvk/3uD/tP70RwmcR0Khjnl3CJP+342kYcmQ1MAATXRFw62UL62TtV97SM+MJTZsGDea+txRinGcJcoI/mcektWjY=&projectDesc=authenticationMethod=0用户名密码认证&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075454819&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500',
 'message': '项目名称必须由2-512个字符组成。, projectName：该字段不能为空。',
 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075454630', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '1dddb32a6a4208d86be944de341a460441b656a0bde292096dd0aa0115cca057', 'lang': 'zh-CN'}
请求参数：{'projectName': '', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'vWb/geYyD2bG3GID/WKXT2SZnNcKf1a9gGc1GR2iviKaRp+/G6wFiniPHgvnDHrcbaRi/mwn6tFSZPvt0dsvk/3uD/tP70RwmcR0Khjnl3CJP+342kYcmQ1MAATXRFw62UL62TtV97SM+MJTZsGDea+txRinGcJcoI/mcektWjY=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B500', 'message': '项目名称必须由2-512个字符组成。, projectName：该字段不能为空。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD23C2C0>, testcase = {'assert_csv': '项目名不能为空', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_项目名不能为空', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '项目名不能为空' in '项目名称必须由2-512个字符组成。, projectName：该字段不能为空。'
E        +  where '项目名不能为空' = <built-in method get of dict object at 0x00000299DD3027C0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD3027C0> = {'assert_csv': '项目名不能为空', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_项目名不能为空', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>3</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectName_toolong:512</td>
                    <td>0.511934</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目名称必须由2-512个字符组成。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '44beb906b3e74326cfb864bccc168457a6d4e7e8a26d7bcce9129e1702f98ca8',
 'x-cs-timestamp': '1727075455236'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'jgxJzvNmjn7mVh95t+f6jT28EDItlFrPz/NUhLlFB7d7PvnNEEal3P3L5pyDIz7KR7xWStPiGue7dQqLCoZtj5thxJZ+hZXlziN3zuQOZovQPae1le+HicXz9xrV5APqDsR5dQ4/AsoWJ3Fmd6l/itRP/MiuEsqTuEGD/y1JoCc=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567895555512345123',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=jgxJzvNmjn7mVh95t+f6jT28EDItlFrPz/NUhLlFB7d7PvnNEEal3P3L5pyDIz7KR7xWStPiGue7dQqLCoZtj5thxJZ+hZXlziN3zuQOZovQPae1le+HicXz9xrV5APqDsR5dQ4/AsoWJ3Fmd6l/itRP/MiuEsqTuEGD/y1JoCc=&projectDesc=authenticationMethod=0用户名密码认证&projectName=012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567895555512345123&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075455487&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': '项目名称必须由2-512个字符组成。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075455236', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '44beb906b3e74326cfb864bccc168457a6d4e7e8a26d7bcce9129e1702f98ca8', 'lang': 'zh-CN'}
请求参数：{'projectName': '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567895555512345123', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'jgxJzvNmjn7mVh95t+f6jT28EDItlFrPz/NUhLlFB7d7PvnNEEal3P3L5pyDIz7KR7xWStPiGue7dQqLCoZtj5thxJZ+hZXlziN3zuQOZovQPae1le+HicXz9xrV5APqDsR5dQ4/AsoWJ3Fmd6l/itRP/MiuEsqTuEGD/y1JoCc=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B500', 'message': '项目名称必须由2-512个字符组成。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DCD81CD0>
testcase = {'assert_csv': '项目名不能超过512', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_toolong:512', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '项目名不能超过512' in '项目名称必须由2-512个字符组成。'
E        +  where '项目名不能超过512' = <built-in method get of dict object at 0x00000299DD302C00>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD302C00> = {'assert_csv': '项目名不能超过512', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_toolong:512', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>4</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectNametooshort</td>
                    <td>0.470062</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目名称必须由2-512个字符组成。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'c92790b34d75ef0e355ca199c452468a27689fcdf458e285ba27bba5ae2274bb',
 'x-cs-timestamp': '1727075455763'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'jQSB/w/4DnxPlyvr+120hLLBLaGr18UOB4Vlyp6dlB7I4ZpteQhXa4Y0Dw/NZsXuNH+43UimtQJTuXloQCVgJ9zPFiHiMkaQB4oPmKRVVEHHuILY3dSrXWm3OOFY0Weyhz0X47r1LwlothFsEZUxIyVgEN46aOQ8lpn12dseMfw=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': '1',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=jQSB/w/4DnxPlyvr+120hLLBLaGr18UOB4Vlyp6dlB7I4ZpteQhXa4Y0Dw/NZsXuNH+43UimtQJTuXloQCVgJ9zPFiHiMkaQB4oPmKRVVEHHuILY3dSrXWm3OOFY0Weyhz0X47r1LwlothFsEZUxIyVgEN46aOQ8lpn12dseMfw=&projectDesc=authenticationMethod=0用户名密码认证&projectName=1&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075455987&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': '项目名称必须由2-512个字符组成。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075455763', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'c92790b34d75ef0e355ca199c452468a27689fcdf458e285ba27bba5ae2274bb', 'lang': 'zh-CN'}
请求参数：{'projectName': '1', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'jQSB/w/4DnxPlyvr+120hLLBLaGr18UOB4Vlyp6dlB7I4ZpteQhXa4Y0Dw/NZsXuNH+43UimtQJTuXloQCVgJ9zPFiHiMkaQB4oPmKRVVEHHuILY3dSrXWm3OOFY0Weyhz0X47r1LwlothFsEZUxIyVgEN46aOQ8lpn12dseMfw=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B500', 'message': '项目名称必须由2-512个字符组成。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD3329C0>
testcase = {'assert_csv': '项目名称须由2-512个字符组成', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectNametooshort', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '项目名称须由2-512个字符组成' in '项目名称必须由2-512个字符组成。'
E        +  where '项目名称须由2-512个字符组成' = <built-in method get of dict object at 0x00000299DD22BB80>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD22BB80> = {'assert_csv': '项目名称须由2-512个字符组成', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectNametooshort', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>5</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectName_onlyspace</td>
                    <td>0.461469</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：projectName：该字段不能为空。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '7de6969f9f7f8dbfbbc47ac21d9ce4ff9c82c8b9a3a522d4899f538c7d89c683',
 'x-cs-timestamp': '1727075456227'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'uFZTtHp8UGFtgc6QIHA7IqpxJjdiCUYb60Wwzuiev8vNs/Vow+Ws8f89GogE6PDgaTmSv9ESOqt7FGuOa9GIxFdG1vNWR+7FqXpYQicCOa/Nho26E+Ot7V4wE3ktH37rB0vZk0Oy1yIeKQOAZn/hn+HtQ8RxrEAIzIou7P/G/Co=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': '   ',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=uFZTtHp8UGFtgc6QIHA7IqpxJjdiCUYb60Wwzuiev8vNs/Vow+Ws8f89GogE6PDgaTmSv9ESOqt7FGuOa9GIxFdG1vNWR+7FqXpYQicCOa/Nho26E+Ot7V4wE3ktH37rB0vZk0Oy1yIeKQOAZn/hn+HtQ8RxrEAIzIou7P/G/Co=&projectDesc=authenticationMethod=0用户名密码认证&projectName=   &type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075456424&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': 'projectName：该字段不能为空。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075456227', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '7de6969f9f7f8dbfbbc47ac21d9ce4ff9c82c8b9a3a522d4899f538c7d89c683', 'lang': 'zh-CN'}
请求参数：{'projectName': '   ', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'uFZTtHp8UGFtgc6QIHA7IqpxJjdiCUYb60Wwzuiev8vNs/Vow+Ws8f89GogE6PDgaTmSv9ESOqt7FGuOa9GIxFdG1vNWR+7FqXpYQicCOa/Nho26E+Ot7V4wE3ktH37rB0vZk0Oy1yIeKQOAZn/hn+HtQ8RxrEAIzIou7P/G/Co=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B500', 'message': 'projectName：该字段不能为空。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332A50>
testcase = {'assert_csv': '项目名称须由2-512个字符组成', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_onlyspace', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '项目名称须由2-512个字符组成' in 'projectName：该字段不能为空。'
E        +  where '项目名称须由2-512个字符组成' = <built-in method get of dict object at 0x00000299DD22BD00>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD22BD00> = {'assert_csv': '项目名称须由2-512个字符组成', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_onlyspace', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>6</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectNam_Contains special characters</td>
                    <td>0.488048</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目名称不能包含￥()？！{}《》!#%&*\\/|:<>?\ 等特殊字符。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'b2b89e8f02249aa334f67fc36791a869025f000754e4fbfa52d509697cfa8e8c',
 'x-cs-timestamp': '1727075456659'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'IgOWsiprF/lzvke9PCbZnAts2gJ05zZPk+eaR0y0lMZfGKj0+5oR7ImfQkiT8RU/tOn7KzL1j/yi/KRawKJWAdpaA2lFjjFcipOe+uUYdy5gqtWGgLtuvJjjvP5NNwL23esQ8YcIWhapwHd+faBVd90B7s69tKgBS8PqclAJPy0=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': '#￥%……*',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=IgOWsiprF/lzvke9PCbZnAts2gJ05zZPk+eaR0y0lMZfGKj0+5oR7ImfQkiT8RU/tOn7KzL1j/yi/KRawKJWAdpaA2lFjjFcipOe+uUYdy5gqtWGgLtuvJjjvP5NNwL23esQ8YcIWhapwHd+faBVd90B7s69tKgBS8PqclAJPy0=&projectDesc=authenticationMethod=0用户名密码认证&projectName=#￥%……*&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075456913&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500',
 'message': '项目名称不能包含￥()？！{}《》!#%&*\\\\/|:<>?\\ 等特殊字符。',
 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075456659', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'b2b89e8f02249aa334f67fc36791a869025f000754e4fbfa52d509697cfa8e8c', 'lang': 'zh-CN'}
请求参数：{'projectName': '#￥%……*', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'IgOWsiprF/lzvke9PCbZnAts2gJ05zZPk+eaR0y0lMZfGKj0+5oR7ImfQkiT8RU/tOn7KzL1j/yi/KRawKJWAdpaA2lFjjFcipOe+uUYdy5gqtWGgLtuvJjjvP5NNwL23esQ8YcIWhapwHd+faBVd90B7s69tKgBS8PqclAJPy0=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B500', 'message': '项目名称不能包含￥()？！{}《》!#%&*\\\\/|:<>?\\ 等特殊字符。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>7</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectName_two characters</td>
                    <td>0.449169</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '7fec7754ae86fbce765d6fa3082655d23b8816ab9a7ab7ab3c8a1ec4a2afc2fb',
 'x-cs-timestamp': '1727075457173'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'Dl5FS9I3leVijGFzAzH7/HRCuT6BgInOqpSzJm220feKQeY6BeOUOMT5cycpuaeXgPAt183qlLUXchax0jsM++2T05LYH9wqrw0FaFIlNsvgKXVz29mbkqv5/0V82GbTlOzIeM+u+7ErOcDGXGsD38QsPoXjzjqZXIHkTgZx14Q=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': '根据',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=Dl5FS9I3leVijGFzAzH7/HRCuT6BgInOqpSzJm220feKQeY6BeOUOMT5cycpuaeXgPAt183qlLUXchax0jsM++2T05LYH9wqrw0FaFIlNsvgKXVz29mbkqv5/0V82GbTlOzIeM+u+7ErOcDGXGsD38QsPoXjzjqZXIHkTgZx14Q=&projectDesc=authenticationMethod=0用户名密码认证&projectName=根据&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075457402&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075457173', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '7fec7754ae86fbce765d6fa3082655d23b8816ab9a7ab7ab3c8a1ec4a2afc2fb', 'lang': 'zh-CN'}
请求参数：{'projectName': '根据', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'Dl5FS9I3leVijGFzAzH7/HRCuT6BgInOqpSzJm220feKQeY6BeOUOMT5cycpuaeXgPAt183qlLUXchax0jsM++2T05LYH9wqrw0FaFIlNsvgKXVz29mbkqv5/0V82GbTlOzIeM+u+7ErOcDGXGsD38QsPoXjzjqZXIHkTgZx14Q=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332B70>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_two characters', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD338300>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD338300> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_two characters', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>8</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectName_512characters</td>
                    <td>0.445521</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'c1f9e6ca4934e5af7da254d3e19adc465087b40987c5b77e0b99e3816665663c',
 'x-cs-timestamp': '1727075457626'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'j1drIP6Pt4i4TLO/H1/s8Cdm7KhljJXLYt/wFfq5QkdH4kvtfrNIy+czMLcAdq4bu/jpAitdDQ6ATy0tBeSgDOJp/Z5N27tXLcGgLgeuxm+GMDhCG0piSaxWuByV6+t3RL6t8DKZFLdMbi76xY3G94Hgk4rpaQU9RpcsbHFcaRk=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': '01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789555551234512',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=j1drIP6Pt4i4TLO/H1/s8Cdm7KhljJXLYt/wFfq5QkdH4kvtfrNIy+czMLcAdq4bu/jpAitdDQ6ATy0tBeSgDOJp/Z5N27tXLcGgLgeuxm+GMDhCG0piSaxWuByV6+t3RL6t8DKZFLdMbi76xY3G94Hgk4rpaQU9RpcsbHFcaRk=&projectDesc=authenticationMethod=0用户名密码认证&projectName=01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789555551234512&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075457822&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075457626', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'c1f9e6ca4934e5af7da254d3e19adc465087b40987c5b77e0b99e3816665663c', 'lang': 'zh-CN'}
请求参数：{'projectName': '01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789555551234512', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'j1drIP6Pt4i4TLO/H1/s8Cdm7KhljJXLYt/wFfq5QkdH4kvtfrNIy+czMLcAdq4bu/jpAitdDQ6ATy0tBeSgDOJp/Z5N27tXLcGgLgeuxm+GMDhCG0piSaxWuByV6+t3RL6t8DKZFLdMbi76xY3G94Hgk4rpaQU9RpcsbHFcaRk=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332C00>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_512characters', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD338780>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD338780> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_512characters', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>9</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectName_space and characters</td>
                    <td>0.500261</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '9af4e830fd8ab4200680832a85bed6411d0543f567e096d63e4ec1e54bb28d70',
 'x-cs-timestamp': '1727075458089'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'X4KHBUy7kfanA+TCBOUrZ5Jv4BQ0qJsbovGH4AYjcQObcMf4GqwZMD3laV0yL3GFMfyUrObCzHDM6lViTxO7UgzhjVAaSPWhqyjKwOEa0e1n6/IqlmioIjZ8DHHXSKpcuVFgCDImP4vIp6CPi8VyT5fcHZM1qLFD0uz5ZZdoJVM=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': '空格   自动   清除',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=X4KHBUy7kfanA+TCBOUrZ5Jv4BQ0qJsbovGH4AYjcQObcMf4GqwZMD3laV0yL3GFMfyUrObCzHDM6lViTxO7UgzhjVAaSPWhqyjKwOEa0e1n6/IqlmioIjZ8DHHXSKpcuVFgCDImP4vIp6CPi8VyT5fcHZM1qLFD0uz5ZZdoJVM=&projectDesc=authenticationMethod=0用户名密码认证&projectName=空格   自动   清除&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075458357&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075458089', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '9af4e830fd8ab4200680832a85bed6411d0543f567e096d63e4ec1e54bb28d70', 'lang': 'zh-CN'}
请求参数：{'projectName': '空格   自动   清除', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'X4KHBUy7kfanA+TCBOUrZ5Jv4BQ0qJsbovGH4AYjcQObcMf4GqwZMD3laV0yL3GFMfyUrObCzHDM6lViTxO7UgzhjVAaSPWhqyjKwOEa0e1n6/IqlmioIjZ8DHHXSKpcuVFgCDImP4vIp6CPi8VyT5fcHZM1qLFD0uz5ZZdoJVM=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332C90>
testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_space and characters', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD339680>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339680> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectName_space and characters', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>10</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectDesc_null</td>
                    <td>0.596544</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '986de399b6a02c11e71179596726c9e1ced47da9acf4f2ca4b254bb98baaffd9',
 'x-cs-timestamp': '1727075458656'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'MNE5JXCr1xXWBBHSNQwyZJQz8un1W4JAkN5ynp7aXL2VqTPETy2G8/Hs8/wfQzuVEgektgomKw/9E2jECbd2tJ0C6FjXYfZn35+NXwD3N/cxlPoKuIcUNFWXeiRXt6e8GqAgcz0aRpq+AxiDrthJxsk5eUVp2Zb3uQcDxBMQozU=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'projectDesc为空',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=MNE5JXCr1xXWBBHSNQwyZJQz8un1W4JAkN5ynp7aXL2VqTPETy2G8/Hs8/wfQzuVEgektgomKw/9E2jECbd2tJ0C6FjXYfZn35+NXwD3N/cxlPoKuIcUNFWXeiRXt6e8GqAgcz0aRpq+AxiDrthJxsk5eUVp2Zb3uQcDxBMQozU=&projectDesc=authenticationMethod=0用户名密码认证&projectName=projectDesc为空&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075458985&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075458656', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '986de399b6a02c11e71179596726c9e1ced47da9acf4f2ca4b254bb98baaffd9', 'lang': 'zh-CN'}
请求参数：{'projectName': 'projectDesc为空', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'MNE5JXCr1xXWBBHSNQwyZJQz8un1W4JAkN5ynp7aXL2VqTPETy2G8/Hs8/wfQzuVEgektgomKw/9E2jECbd2tJ0C6FjXYfZn35+NXwD3N/cxlPoKuIcUNFWXeiRXt6e8GqAgcz0aRpq+AxiDrthJxsk5eUVp2Zb3uQcDxBMQozU=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332D20>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_null', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD3398C0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD3398C0> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_null', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>11</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectDesc_toolong 513characters</td>
                    <td>0.312050</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'e8f7308267df95617a6eb3f2eb0223a4fc7326d41be9e21a60796699192aed0f',
 'x-cs-timestamp': '1727075459157'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'FrlqcIWUSokgEA5vc704gDtFTqv8TRbox6xBPKfU8/prc1lO8kQmiaAiltMI2KknuUA8L+rpBTckEh4fiDX66SVd4fn4yrNt/XgIKTP6itOTwKLJNIE3TdTC/omDuLXQrjLdAYiNcKC8e90r45YVHwpqOnwFMfPYOBDphSOBJIA=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'projectDesc超长：513个字符',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=FrlqcIWUSokgEA5vc704gDtFTqv8TRbox6xBPKfU8/prc1lO8kQmiaAiltMI2KknuUA8L+rpBTckEh4fiDX66SVd4fn4yrNt/XgIKTP6itOTwKLJNIE3TdTC/omDuLXQrjLdAYiNcKC8e90r45YVHwpqOnwFMfPYOBDphSOBJIA=&projectDesc=authenticationMethod=0用户名密码认证&projectName=projectDesc超长：513个字符&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075459308&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075459157', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'e8f7308267df95617a6eb3f2eb0223a4fc7326d41be9e21a60796699192aed0f', 'lang': 'zh-CN'}
请求参数：{'projectName': 'projectDesc超长：513个字符', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'FrlqcIWUSokgEA5vc704gDtFTqv8TRbox6xBPKfU8/prc1lO8kQmiaAiltMI2KknuUA8L+rpBTckEh4fiDX66SVd4fn4yrNt/XgIKTP6itOTwKLJNIE3TdTC/omDuLXQrjLdAYiNcKC8e90r45YVHwpqOnwFMfPYOBDphSOBJIA=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332DB0>
testcase = {'assert_csv': '描述信息不能超过500', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_toolong 513characters', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '描述信息不能超过500' in '指定团队下项目名已经存在。'
E        +  where '描述信息不能超过500' = <built-in method get of dict object at 0x00000299DD339940>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339940> = {'assert_csv': '描述信息不能超过500', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_toolong 513characters', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>12</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectDesc_onlyspace</td>
                    <td>0.418287</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '698267e0de2757bcc3eb86bc78e9ccdfb9f65be88ebaf2e3ecdaf8606fba7f95',
 'x-cs-timestamp': '1727075459483'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'pW2xbzH7JvYRx97VynwYVCORLrRk9/Ob+iECQ0g1Izd1avaAwAMXz1UNCPb/eMUhHCH2S3ll9ggLdNQz2YXYiF/xo5orCJ3MPC8S1aqjrvbkHASxnRVi/2ehnLeeoDXSYLqnd065Uv1+t/S+fkwtLUXcIzAUFxOB5XZ1ITVOfY0=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'projectDesc只有空格',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=pW2xbzH7JvYRx97VynwYVCORLrRk9/Ob+iECQ0g1Izd1avaAwAMXz1UNCPb/eMUhHCH2S3ll9ggLdNQz2YXYiF/xo5orCJ3MPC8S1aqjrvbkHASxnRVi/2ehnLeeoDXSYLqnd065Uv1+t/S+fkwtLUXcIzAUFxOB5XZ1ITVOfY0=&projectDesc=authenticationMethod=0用户名密码认证&projectName=projectDesc只有空格&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075459734&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075459483', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '698267e0de2757bcc3eb86bc78e9ccdfb9f65be88ebaf2e3ecdaf8606fba7f95', 'lang': 'zh-CN'}
请求参数：{'projectName': 'projectDesc只有空格', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'pW2xbzH7JvYRx97VynwYVCORLrRk9/Ob+iECQ0g1Izd1avaAwAMXz1UNCPb/eMUhHCH2S3ll9ggLdNQz2YXYiF/xo5orCJ3MPC8S1aqjrvbkHASxnRVi/2ehnLeeoDXSYLqnd065Uv1+t/S+fkwtLUXcIzAUFxOB5XZ1ITVOfY0=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332E40>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_onlyspace', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD339AC0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339AC0> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_onlyspace', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>13</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectDesc_Contains special characters</td>
                    <td>0.372613</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'bf33d0be14052b9c8cec10a19944ebb45b8521123f9f1f46b094a21baf3834c6',
 'x-cs-timestamp': '1727075459874'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'mmqkgKgJmQr4HMmMT6AXfneqOj0fYs5QEA91PEnOtio53dJNZBj5LBgTX83TUbEruGCvNAsNR4GRD2zdlgmioiTDhGKdr/tuw2aUDZRf6LOpoAA3yrysQxQ4p1nChm5Ohz0WRMcqGtwEUDeqjVOG9TjzYTyZSFmM1rgQTWJj77A=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'projectDesc包含特殊字符',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=mmqkgKgJmQr4HMmMT6AXfneqOj0fYs5QEA91PEnOtio53dJNZBj5LBgTX83TUbEruGCvNAsNR4GRD2zdlgmioiTDhGKdr/tuw2aUDZRf6LOpoAA3yrysQxQ4p1nChm5Ohz0WRMcqGtwEUDeqjVOG9TjzYTyZSFmM1rgQTWJj77A=&projectDesc=authenticationMethod=0用户名密码认证&projectName=projectDesc包含特殊字符&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075460062&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075459874', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'bf33d0be14052b9c8cec10a19944ebb45b8521123f9f1f46b094a21baf3834c6', 'lang': 'zh-CN'}
请求参数：{'projectName': 'projectDesc包含特殊字符', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'mmqkgKgJmQr4HMmMT6AXfneqOj0fYs5QEA91PEnOtio53dJNZBj5LBgTX83TUbEruGCvNAsNR4GRD2zdlgmioiTDhGKdr/tuw2aUDZRf6LOpoAA3yrysQxQ4p1nChm5Ohz0WRMcqGtwEUDeqjVOG9TjzYTyZSFmM1rgQTWJj77A=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332ED0>
testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_Contains special characters', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD339C00>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339C00> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_Contains special characters', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>14</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectDesc_two characters</td>
                    <td>0.387244</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '5415fd3fb7a2dedc157bdacf28b044f8b5039625a3ff7024717479d353bdeb7d',
 'x-cs-timestamp': '1727075460292'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'XIFUPKASD3ctvo9De3TbOwFScNxF5sA8bA2xOTRYLW+EV7YV8OmPVLpFF9KMraijgGzZ1kbVt+0ttEa70nWEwAMFVLskfljJuBcjouCEokZPOG9EhiYeE4ZEnTJWvVMFvXOFMdmF0i8skWx3fIANd/rHixGaGTEa5mITvfEpZW8=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'projectDesc两个字符',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=XIFUPKASD3ctvo9De3TbOwFScNxF5sA8bA2xOTRYLW+EV7YV8OmPVLpFF9KMraijgGzZ1kbVt+0ttEa70nWEwAMFVLskfljJuBcjouCEokZPOG9EhiYeE4ZEnTJWvVMFvXOFMdmF0i8skWx3fIANd/rHixGaGTEa5mITvfEpZW8=&projectDesc=authenticationMethod=0用户名密码认证&projectName=projectDesc两个字符&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075460486&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075460292', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '5415fd3fb7a2dedc157bdacf28b044f8b5039625a3ff7024717479d353bdeb7d', 'lang': 'zh-CN'}
请求参数：{'projectName': 'projectDesc两个字符', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'XIFUPKASD3ctvo9De3TbOwFScNxF5sA8bA2xOTRYLW+EV7YV8OmPVLpFF9KMraijgGzZ1kbVt+0ttEa70nWEwAMFVLskfljJuBcjouCEokZPOG9EhiYeE4ZEnTJWvVMFvXOFMdmF0i8skWx3fIANd/rHixGaGTEa5mITvfEpZW8=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332F60>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_two characters', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD339B40>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339B40> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_two characters', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>15</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: projectDesc_500characters</td>
                    <td>0.394474</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '416b63d6b45e9a77c1818977de1f7c1b29476fccad9db761b3016b78f1e8dbb2',
 'x-cs-timestamp': '1727075460677'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'Ws2GixB5H+5yyReuLqhCFj4+tp3cc3AcuSHWSKF4n3mxz96/g6XLrBXQpQL+Dl+TGeRA7+/qn2jGOfZabMPGuU5Th5eMYO+fIH4ukur1lt5pM8cT96NkFAOnvlcVeGXTwmWTyD1HCqoruvrEE6mIGo4iq8kvfYUQ/UDK1aWlXnI=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'projectDesc500个字符',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=Ws2GixB5H+5yyReuLqhCFj4+tp3cc3AcuSHWSKF4n3mxz96/g6XLrBXQpQL+Dl+TGeRA7+/qn2jGOfZabMPGuU5Th5eMYO+fIH4ukur1lt5pM8cT96NkFAOnvlcVeGXTwmWTyD1HCqoruvrEE6mIGo4iq8kvfYUQ/UDK1aWlXnI=&projectDesc=authenticationMethod=0用户名密码认证&projectName=projectDesc500个字符&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075460880&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075460677', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '416b63d6b45e9a77c1818977de1f7c1b29476fccad9db761b3016b78f1e8dbb2', 'lang': 'zh-CN'}
请求参数：{'projectName': 'projectDesc500个字符', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'Ws2GixB5H+5yyReuLqhCFj4+tp3cc3AcuSHWSKF4n3mxz96/g6XLrBXQpQL+Dl+TGeRA7+/qn2jGOfZabMPGuU5Th5eMYO+fIH4ukur1lt5pM8cT96NkFAOnvlcVeGXTwmWTyD1HCqoruvrEE6mIGo4iq8kvfYUQ/UDK1aWlXnI=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD332FF0>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_500characters', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD339DC0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339DC0> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'projectDesc_500characters', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>16</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: url_ok</td>
                    <td>0.331165</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '95d45ad589cfe0ebef7aca7c2554094f8082dfd88c72e1ff0eab6211c6eb43ea',
 'x-cs-timestamp': '1727075461044'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'VbXtHCcZJm9mn+LvcPqiqiEqyzFLaRSGzb9SBCIePWAZY0cv5QPg/4S7w4zGe2y05FN53LVS9KHEhLFgJxShEmhEeAI/n1BCNGNFl6TnW5DvoJlvCzqfGF/AruFujSsXts/FKZAnKnorLTM14G3ACbStNFoWHMesJrqL3vdAi78=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'url正常',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=VbXtHCcZJm9mn+LvcPqiqiEqyzFLaRSGzb9SBCIePWAZY0cv5QPg/4S7w4zGe2y05FN53LVS9KHEhLFgJxShEmhEeAI/n1BCNGNFl6TnW5DvoJlvCzqfGF/AruFujSsXts/FKZAnKnorLTM14G3ACbStNFoWHMesJrqL3vdAi78=&projectDesc=authenticationMethod=0用户名密码认证&projectName=url正常&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075461219&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075461044', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '95d45ad589cfe0ebef7aca7c2554094f8082dfd88c72e1ff0eab6211c6eb43ea', 'lang': 'zh-CN'}
请求参数：{'projectName': 'url正常', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'VbXtHCcZJm9mn+LvcPqiqiEqyzFLaRSGzb9SBCIePWAZY0cv5QPg/4S7w4zGe2y05FN53LVS9KHEhLFgJxShEmhEeAI/n1BCNGNFl6TnW5DvoJlvCzqfGF/AruFujSsXts/FKZAnKnorLTM14G3ACbStNFoWHMesJrqL3vdAi78=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333080>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_ok', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD339D00>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339D00> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_ok', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>17</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: url_null</td>
                    <td>0.460452</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '0b08c9c8340e2d029adef2b95bae690eadc4a581955a6297ffdd60af78ad1b16',
 'x-cs-timestamp': '1727075461437'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'fOn/Sdfn7zfXz6uguWCZ+YbC6+JR+Hun2/WrRmGi2leP5RQLLAvaRsauwoHFlr/QSCCb9fdUai00VCHCO4lCtr2lZA3k2kLk3u0UChz5+AoTLmfd0UF0xZmyaIpfkJ2UJpSD9HJFlU8Ofvxki4r5COZGYQdF/0FOxRubPwwmiNU=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'url为空',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=fOn/Sdfn7zfXz6uguWCZ+YbC6+JR+Hun2/WrRmGi2leP5RQLLAvaRsauwoHFlr/QSCCb9fdUai00VCHCO4lCtr2lZA3k2kLk3u0UChz5+AoTLmfd0UF0xZmyaIpfkJ2UJpSD9HJFlU8Ofvxki4r5COZGYQdF/0FOxRubPwwmiNU=&projectDesc=authenticationMethod=0用户名密码认证&projectName=url为空&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075461687&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075461437', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '0b08c9c8340e2d029adef2b95bae690eadc4a581955a6297ffdd60af78ad1b16', 'lang': 'zh-CN'}
请求参数：{'projectName': 'url为空', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'fOn/Sdfn7zfXz6uguWCZ+YbC6+JR+Hun2/WrRmGi2leP5RQLLAvaRsauwoHFlr/QSCCb9fdUai00VCHCO4lCtr2lZA3k2kLk3u0UChz5+AoTLmfd0UF0xZmyaIpfkJ2UJpSD9HJFlU8Ofvxki4r5COZGYQdF/0FOxRubPwwmiNU=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333110>, testcase = {'assert_csv': '不能为空', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_null', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '不能为空' in '指定团队下项目名已经存在。'
E        +  where '不能为空' = <built-in method get of dict object at 0x00000299DD339D40>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339D40> = {'assert_csv': '不能为空', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_null', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>18</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: url format error</td>
                    <td>0.446010</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '5c87b8be1abab4d5351b758e9e46dbf0ec1437d0f25a2b265602907b61d5160f',
 'x-cs-timestamp': '1727075461902'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'G+0jh524ucPnzZ70TNikahGAFipqxnw4etnRdSDADpMONUenSFg94cOfm4g59Gs1TtKtMnu7r8EXryAFyW98gRH677TuI+Lbw22hYhh/fYUdUkQ/IYbngL1GXkCynI+adjrTkjqxwyoHw2Cb9mMblwz97amtTsDZPhFnOvTaGTQ=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'url格式错误',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=G+0jh524ucPnzZ70TNikahGAFipqxnw4etnRdSDADpMONUenSFg94cOfm4g59Gs1TtKtMnu7r8EXryAFyW98gRH677TuI+Lbw22hYhh/fYUdUkQ/IYbngL1GXkCynI+adjrTkjqxwyoHw2Cb9mMblwz97amtTsDZPhFnOvTaGTQ=&projectDesc=authenticationMethod=0用户名密码认证&projectName=url格式错误&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075462119&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075461902', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '5c87b8be1abab4d5351b758e9e46dbf0ec1437d0f25a2b265602907b61d5160f', 'lang': 'zh-CN'}
请求参数：{'projectName': 'url格式错误', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'G+0jh524ucPnzZ70TNikahGAFipqxnw4etnRdSDADpMONUenSFg94cOfm4g59Gs1TtKtMnu7r8EXryAFyW98gRH677TuI+Lbw22hYhh/fYUdUkQ/IYbngL1GXkCynI+adjrTkjqxwyoHw2Cb9mMblwz97amtTsDZPhFnOvTaGTQ=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD3331A0>, testcase = {'assert_csv': 'url格式错误', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url format error', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert 'url格式错误' in '指定团队下项目名已经存在。'
E        +  where 'url格式错误' = <built-in method get of dict object at 0x00000299DD3388C0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD3388C0> = {'assert_csv': 'url格式错误', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url format error', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>19</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: url_contains space</td>
                    <td>0.461244</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'a4db4af0df967ccb395ad0221d9f2f82263092d3bdd1eeaedd4b474505747dff',
 'x-cs-timestamp': '1727075462371'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'NvqZhlYq2FA2AGkiNMtGwcpUcbUsAqLW02jGbVlmx9epKVWQ1D+APAcaIh/OdiokYpqcgmiUsXzz6OLRy8KmG3VRf4n62l1HWq9yoOlZJo8W/GqF4fOJ5O7PCEDhOuf5kci1k1fAKNwWIqPHScUSfzg7AXLcCLzTLKDIK4r/tfQ=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'url包含空格',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=NvqZhlYq2FA2AGkiNMtGwcpUcbUsAqLW02jGbVlmx9epKVWQ1D+APAcaIh/OdiokYpqcgmiUsXzz6OLRy8KmG3VRf4n62l1HWq9yoOlZJo8W/GqF4fOJ5O7PCEDhOuf5kci1k1fAKNwWIqPHScUSfzg7AXLcCLzTLKDIK4r/tfQ=&projectDesc=authenticationMethod=0用户名密码认证&projectName=url包含空格&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075462588&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075462371', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'a4db4af0df967ccb395ad0221d9f2f82263092d3bdd1eeaedd4b474505747dff', 'lang': 'zh-CN'}
请求参数：{'projectName': 'url包含空格', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'NvqZhlYq2FA2AGkiNMtGwcpUcbUsAqLW02jGbVlmx9epKVWQ1D+APAcaIh/OdiokYpqcgmiUsXzz6OLRy8KmG3VRf4n62l1HWq9yoOlZJo8W/GqF4fOJ5O7PCEDhOuf5kci1k1fAKNwWIqPHScUSfzg7AXLcCLzTLKDIK4r/tfQ=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333230>, testcase = {'assert_csv': '地址填写错误', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_contains space', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '地址填写错误' in '指定团队下项目名已经存在。'
E        +  where '地址填写错误' = <built-in method get of dict object at 0x00000299DD3380C0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD3380C0> = {'assert_csv': '地址填写错误', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_contains space', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>20</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: url_characters too long</td>
                    <td>0.479122</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '149eea6b0c0d157df674783d93a864bfbc7dc42104f0693e239e102e86f5101e',
 'x-cs-timestamp': '1727075462787'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'uk2Fsl18pYRj2SU4DTwZ/240zJCMTHmqvgNLrhAwb1v89f1Af/pdWRLoeuO1AkgcexmV9SegIes/034biOo4N0xkHmofuECTN7DOq3BjQVFGWvoewrE07c2mLWq3Tf4NawqU4f4VrPEXO9MLPVovn9ufjt+711z6uH7qwPIzAx8=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'url字符超长',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=uk2Fsl18pYRj2SU4DTwZ/240zJCMTHmqvgNLrhAwb1v89f1Af/pdWRLoeuO1AkgcexmV9SegIes/034biOo4N0xkHmofuECTN7DOq3BjQVFGWvoewrE07c2mLWq3Tf4NawqU4f4VrPEXO9MLPVovn9ufjt+711z6uH7qwPIzAx8=&projectDesc=authenticationMethod=0用户名密码认证&projectName=url字符超长&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075463037&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075462787', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '149eea6b0c0d157df674783d93a864bfbc7dc42104f0693e239e102e86f5101e', 'lang': 'zh-CN'}
请求参数：{'projectName': 'url字符超长', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'uk2Fsl18pYRj2SU4DTwZ/240zJCMTHmqvgNLrhAwb1v89f1Af/pdWRLoeuO1AkgcexmV9SegIes/034biOo4N0xkHmofuECTN7DOq3BjQVFGWvoewrE07c2mLWq3Tf4NawqU4f4VrPEXO9MLPVovn9ufjt+711z6uH7qwPIzAx8=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD3332C0>
testcase = {'assert_csv': '地址最大长度为200个字符', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_characters too long', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '地址最大长度为200个字符' in '指定团队下项目名已经存在。'
E        +  where '地址最大长度为200个字符' = <built-in method get of dict object at 0x00000299DD339E40>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339E40> = {'assert_csv': '地址最大长度为200个字符', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_characters too long', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>21</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: url_contains special characters</td>
                    <td>0.494190</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'b27f96c9dcb1635919a60047daa9ee452ea691c0b966f181316844a61de66f9d',
 'x-cs-timestamp': '1727075463295'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'AKH3hStMx3GL5Zp8m0BdUxvH6rj3sJN4p+rCP6zAkpsgDfn4m30nd991vZ2eHVmRoub36xQjprkxv2x3038qkNaTdZLk10BGp6wsnJQFk+v63ZJ0EJawBKAiF6iYWvTcuK7Zb+amFAt9JCMX1LIMwQQIKElbk+2EQpR3tTjRFck=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'url格式错误',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=AKH3hStMx3GL5Zp8m0BdUxvH6rj3sJN4p+rCP6zAkpsgDfn4m30nd991vZ2eHVmRoub36xQjprkxv2x3038qkNaTdZLk10BGp6wsnJQFk+v63ZJ0EJawBKAiF6iYWvTcuK7Zb+amFAt9JCMX1LIMwQQIKElbk+2EQpR3tTjRFck=&projectDesc=authenticationMethod=0用户名密码认证&projectName=url格式错误&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075463574&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075463295', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'b27f96c9dcb1635919a60047daa9ee452ea691c0b966f181316844a61de66f9d', 'lang': 'zh-CN'}
请求参数：{'projectName': 'url格式错误', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'AKH3hStMx3GL5Zp8m0BdUxvH6rj3sJN4p+rCP6zAkpsgDfn4m30nd991vZ2eHVmRoub36xQjprkxv2x3038qkNaTdZLk10BGp6wsnJQFk+v63ZJ0EJawBKAiF6iYWvTcuK7Zb+amFAt9JCMX1LIMwQQIKElbk+2EQpR3tTjRFck=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333350>
testcase = {'assert_csv': 'url格式错误', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_contains special characters', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert 'url格式错误' in '指定团队下项目名已经存在。'
E        +  where 'url格式错误' = <built-in method get of dict object at 0x00000299DD339E80>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339E80> = {'assert_csv': 'url格式错误', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'url_contains special characters', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>22</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: urlHead=0</td>
                    <td>0.404431</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '6602fec2fc14d3740675ae13afaf9717dc8eb375d56d068cdb62e2f954969c78',
 'x-cs-timestamp': '1727075463766'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'XepSchOBzkhXznXD466R6ce6MudKq+VrzYccpLPyjhnhKBiZe3ptVtEy+22ps7hFcDBrRhhGHUCjqyVT7xSBhJFl+sjLp+eygEF4mrHiKitEblWaY5DgVSfHoUMgl8BceWphAGH7iCwbE2gj7Cj0F70tps10b3EEp79yY4DmWeI=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'urlHead=0',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=XepSchOBzkhXznXD466R6ce6MudKq+VrzYccpLPyjhnhKBiZe3ptVtEy+22ps7hFcDBrRhhGHUCjqyVT7xSBhJFl+sjLp+eygEF4mrHiKitEblWaY5DgVSfHoUMgl8BceWphAGH7iCwbE2gj7Cj0F70tps10b3EEp79yY4DmWeI=&projectDesc=authenticationMethod=0用户名密码认证&projectName=urlHead=0&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075463972&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075463766', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '6602fec2fc14d3740675ae13afaf9717dc8eb375d56d068cdb62e2f954969c78', 'lang': 'zh-CN'}
请求参数：{'projectName': 'urlHead=0', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'XepSchOBzkhXznXD466R6ce6MudKq+VrzYccpLPyjhnhKBiZe3ptVtEy+22ps7hFcDBrRhhGHUCjqyVT7xSBhJFl+sjLp+eygEF4mrHiKitEblWaY5DgVSfHoUMgl8BceWphAGH7iCwbE2gj7Cj0F70tps10b3EEp79yY4DmWeI=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD3333E0>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead=0', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD339F80>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD339F80> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead=0', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>23</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: urlHead=1</td>
                    <td>0.595427</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '51a10cd70f0213c3b6a4a1e97f6150d4cadca5e90e5d42066f5187eadbdfc8fe',
 'x-cs-timestamp': '1727075464214'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'bhEeeYpOJou9A6VP5gezuvdUHwXHO38f3ZCp1OVZvIuMFvuS8ZQXUtiW4ZlHvLM4tacF7gUjfbfl2khuboieyl60MFcxnA6CLlXaIQh6zgAdX2CgcI/yyRRnGO7ay09oVZpxjZhHzWWfg3NthAH65QbAHzQdvg9OU+8MoLZXdvU=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'urlHead=1',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=bhEeeYpOJou9A6VP5gezuvdUHwXHO38f3ZCp1OVZvIuMFvuS8ZQXUtiW4ZlHvLM4tacF7gUjfbfl2khuboieyl60MFcxnA6CLlXaIQh6zgAdX2CgcI/yyRRnGO7ay09oVZpxjZhHzWWfg3NthAH65QbAHzQdvg9OU+8MoLZXdvU=&projectDesc=authenticationMethod=0用户名密码认证&projectName=urlHead=1&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075464597&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075464214', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '51a10cd70f0213c3b6a4a1e97f6150d4cadca5e90e5d42066f5187eadbdfc8fe', 'lang': 'zh-CN'}
请求参数：{'projectName': 'urlHead=1', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'bhEeeYpOJou9A6VP5gezuvdUHwXHO38f3ZCp1OVZvIuMFvuS8ZQXUtiW4ZlHvLM4tacF7gUjfbfl2khuboieyl60MFcxnA6CLlXaIQh6zgAdX2CgcI/yyRRnGO7ay09oVZpxjZhHzWWfg3NthAH65QbAHzQdvg9OU+8MoLZXdvU=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333470>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead=1', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33A080>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33A080> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead=1', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>24</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: urlHead=2</td>
                    <td>0.479878</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '29ad733b44dd9027b212d271a64c6873e3e2dcd62c39dc0a3ec9d85cbeddba06',
 'x-cs-timestamp': '1727075464790'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'PJeOCzo7P/Gk23duV/UyhI95Aoa2ugRK49miNwxt03VRG6/wx+FSfiKn3Lr2aGvvoPJlXjLWTYvTjsdL4HN5swqimJy05/NZc4AKYXwR8ThGLagopwM+xU89BYSEE1LrqKg76uoswxGuikWy2FhYdTWzi9XZpK0K5h0ab43oupI=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'urlHead=2',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=PJeOCzo7P/Gk23duV/UyhI95Aoa2ugRK49miNwxt03VRG6/wx+FSfiKn3Lr2aGvvoPJlXjLWTYvTjsdL4HN5swqimJy05/NZc4AKYXwR8ThGLagopwM+xU89BYSEE1LrqKg76uoswxGuikWy2FhYdTWzi9XZpK0K5h0ab43oupI=&projectDesc=authenticationMethod=0用户名密码认证&projectName=urlHead=2&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075465057&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075464790', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '29ad733b44dd9027b212d271a64c6873e3e2dcd62c39dc0a3ec9d85cbeddba06', 'lang': 'zh-CN'}
请求参数：{'projectName': 'urlHead=2', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'PJeOCzo7P/Gk23duV/UyhI95Aoa2ugRK49miNwxt03VRG6/wx+FSfiKn3Lr2aGvvoPJlXjLWTYvTjsdL4HN5swqimJy05/NZc4AKYXwR8ThGLagopwM+xU89BYSEE1LrqKg76uoswxGuikWy2FhYdTWzi9XZpK0K5h0ab43oupI=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333500>, testcase = {'assert_csv': 'urlHead非法', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead=2', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert 'urlHead非法' in '指定团队下项目名已经存在。'
E        +  where 'urlHead非法' = <built-in method get of dict object at 0x00000299DD33A140>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33A140> = {'assert_csv': 'urlHead非法', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead=2', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>25</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: urlHead_null</td>
                    <td>0.478574</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '6ca32620ecea6988acc0296d98c4a88150a1089884bc7b9b685a07cc887f4937',
 'x-cs-timestamp': '1727075465297'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'ZuYTZY/j9L9SYO09wl3Wpm4B+oJRBk+MbzLluL0/AwmO556Uqc7q3OmMPEnEKeM6jvVNp3H+AcyUAC/W3vfut59OxXEn5ikIyUPzdodY4IJdacvUek8wF8yPft/FvHbzjEQh9WCek4CJ7QYSRjyDrtuHjVMBiIUl9iuqt5tZ3GY=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'urlHead为空',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=ZuYTZY/j9L9SYO09wl3Wpm4B+oJRBk+MbzLluL0/AwmO556Uqc7q3OmMPEnEKeM6jvVNp3H+AcyUAC/W3vfut59OxXEn5ikIyUPzdodY4IJdacvUek8wF8yPft/FvHbzjEQh9WCek4CJ7QYSRjyDrtuHjVMBiIUl9iuqt5tZ3GY=&projectDesc=authenticationMethod=0用户名密码认证&projectName=urlHead为空&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075465523&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075465297', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '6ca32620ecea6988acc0296d98c4a88150a1089884bc7b9b685a07cc887f4937', 'lang': 'zh-CN'}
请求参数：{'projectName': 'urlHead为空', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'ZuYTZY/j9L9SYO09wl3Wpm4B+oJRBk+MbzLluL0/AwmO556Uqc7q3OmMPEnEKeM6jvVNp3H+AcyUAC/W3vfut59OxXEn5ikIyUPzdodY4IJdacvUek8wF8yPft/FvHbzjEQh9WCek4CJ7QYSRjyDrtuHjVMBiIUl9iuqt5tZ3GY=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD3335C0>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead_null', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33A200>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33A200> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead_null', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>26</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: urlHead_illegal</td>
                    <td>0.445045</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '9b0f087b72daeb472c92a34a5e803421da8ec94bbd1ed0b08231ae18ef0bbefc',
 'x-cs-timestamp': '1727075465789'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'IMaHV32STuElWHdikK+Tdnc7TKEBHwKM+qNVpn05ny/bh/dl1GwOfgJiBDdtn6xoeQJdwtB8K3MHd6151YyNUm/wWZYkp6BioplHAsD9ueXzn1B9pixsh7o5YTPsz8xoY6WItjteabdMdSM69yepxgGsgFXctH/IlbOtY/8tcHY=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'urlHead非法',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=IMaHV32STuElWHdikK+Tdnc7TKEBHwKM+qNVpn05ny/bh/dl1GwOfgJiBDdtn6xoeQJdwtB8K3MHd6151YyNUm/wWZYkp6BioplHAsD9ueXzn1B9pixsh7o5YTPsz8xoY6WItjteabdMdSM69yepxgGsgFXctH/IlbOtY/8tcHY=&projectDesc=authenticationMethod=0用户名密码认证&projectName=urlHead非法&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075466024&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075465789', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '9b0f087b72daeb472c92a34a5e803421da8ec94bbd1ed0b08231ae18ef0bbefc', 'lang': 'zh-CN'}
请求参数：{'projectName': 'urlHead非法', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'IMaHV32STuElWHdikK+Tdnc7TKEBHwKM+qNVpn05ny/bh/dl1GwOfgJiBDdtn6xoeQJdwtB8K3MHd6151YyNUm/wWZYkp6BioplHAsD9ueXzn1B9pixsh7o5YTPsz8xoY6WItjteabdMdSM69yepxgGsgFXctH/IlbOtY/8tcHY=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333680>, testcase = {'assert_csv': 'urlHead非法', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead_illegal', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert 'urlHead非法' in '指定团队下项目名已经存在。'
E        +  where 'urlHead非法' = <built-in method get of dict object at 0x00000299DD33A280>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33A280> = {'assert_csv': 'urlHead非法', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'urlHead_illegal', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>27</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: gitType1_gitlab</td>
                    <td>0.529764</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '82bb870483b332354e890c0d5dbba69a70f8e64e53330764bf29a60339a75cb6',
 'x-cs-timestamp': '1727075466231'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'pyUtr/4PUzlVRdgZucznzZxLlhqw/HOuB3b00/ESzSaR50fITnvHx55vQ6cSp7EO0d+9znu0/P+2HdtxSD3LI5cClF2Gy8bnNY+RYZD9HIj8Cpht5J6FcmOgh9F2C5+p82FogslF6thFYLqooJ3w8msoALxEJ56RwRzBRN41jjA=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'gitType1_gitlab',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=pyUtr/4PUzlVRdgZucznzZxLlhqw/HOuB3b00/ESzSaR50fITnvHx55vQ6cSp7EO0d+9znu0/P+2HdtxSD3LI5cClF2Gy8bnNY+RYZD9HIj8Cpht5J6FcmOgh9F2C5+p82FogslF6thFYLqooJ3w8msoALxEJ56RwRzBRN41jjA=&projectDesc=authenticationMethod=0用户名密码认证&projectName=gitType1_gitlab&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075466528&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075466231', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '82bb870483b332354e890c0d5dbba69a70f8e64e53330764bf29a60339a75cb6', 'lang': 'zh-CN'}
请求参数：{'projectName': 'gitType1_gitlab', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'pyUtr/4PUzlVRdgZucznzZxLlhqw/HOuB3b00/ESzSaR50fITnvHx55vQ6cSp7EO0d+9znu0/P+2HdtxSD3LI5cClF2Gy8bnNY+RYZD9HIj8Cpht5J6FcmOgh9F2C5+p82FogslF6thFYLqooJ3w8msoALxEJ56RwRzBRN41jjA=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333710>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'gitType1_gitlab', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33A400>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33A400> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'gitType1_gitlab', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>28</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: gitType2_github</td>
                    <td>0.460987</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '376651ee6f40ab0bdf7d16bb7bc052c9e9c229bb9468bbf89450fab71857d25c',
 'x-cs-timestamp': '1727075466781'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '2',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'xOogdA+2W+aYm5eZKnceKshzBsAfG4jPzriI6IoLd6TowwIJanGmV47fYZNp7T/6YHq3z7DShsPkSg1Rqw4pQjob5CDr4I/sIcuWATMr24YKcdjpAMBlXF+6fikzlJ2Ol/bUdteGy4WNgcyxbkWFmUQP+9rcllCGkAU7UNzFeK8=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'gitType2_github',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=2&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=xOogdA+2W+aYm5eZKnceKshzBsAfG4jPzriI6IoLd6TowwIJanGmV47fYZNp7T/6YHq3z7DShsPkSg1Rqw4pQjob5CDr4I/sIcuWATMr24YKcdjpAMBlXF+6fikzlJ2Ol/bUdteGy4WNgcyxbkWFmUQP+9rcllCGkAU7UNzFeK8=&projectDesc=authenticationMethod=0用户名密码认证&projectName=gitType2_github&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075467012&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075466781', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '376651ee6f40ab0bdf7d16bb7bc052c9e9c229bb9468bbf89450fab71857d25c', 'lang': 'zh-CN'}
请求参数：{'projectName': 'gitType2_github', 'gitType': '2', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'xOogdA+2W+aYm5eZKnceKshzBsAfG4jPzriI6IoLd6TowwIJanGmV47fYZNp7T/6YHq3z7DShsPkSg1Rqw4pQjob5CDr4I/sIcuWATMr24YKcdjpAMBlXF+6fikzlJ2Ol/bUdteGy4WNgcyxbkWFmUQP+9rcllCGkAU7UNzFeK8=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD3337A0>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'gitType2_github', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33A540>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33A540> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'gitType2_github', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>29</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: gitType3_gitee</td>
                    <td>0.429413</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '678d5a43e6b8ee4bc9e01cd533e3fb936efcfa01c08c0a02f364fe0bf309a8b8',
 'x-cs-timestamp': '1727075467231'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '3',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'YJfj8qo8gYG9/lB5VWSn+0i7MPCzzL8+4U8HdTS6QiNX58X/nBafzzn8d2eKIKs29GdAsYxnTdDxovdn14/2s+QPBC2a3z4GoWk3+ukoTO+ZL1d42o7i6aWTAMfWmX8TCrjhx3uZ1PXiGoqUl/jWZtUzmrdMV75+P0gOs5WjJ1c=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'gitType3_gitee',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=3&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=YJfj8qo8gYG9/lB5VWSn+0i7MPCzzL8+4U8HdTS6QiNX58X/nBafzzn8d2eKIKs29GdAsYxnTdDxovdn14/2s+QPBC2a3z4GoWk3+ukoTO+ZL1d42o7i6aWTAMfWmX8TCrjhx3uZ1PXiGoqUl/jWZtUzmrdMV75+P0gOs5WjJ1c=&projectDesc=authenticationMethod=0用户名密码认证&projectName=gitType3_gitee&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075467414&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075467231', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '678d5a43e6b8ee4bc9e01cd533e3fb936efcfa01c08c0a02f364fe0bf309a8b8', 'lang': 'zh-CN'}
请求参数：{'projectName': 'gitType3_gitee', 'gitType': '3', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'YJfj8qo8gYG9/lB5VWSn+0i7MPCzzL8+4U8HdTS6QiNX58X/nBafzzn8d2eKIKs29GdAsYxnTdDxovdn14/2s+QPBC2a3z4GoWk3+ukoTO+ZL1d42o7i6aWTAMfWmX8TCrjhx3uZ1PXiGoqUl/jWZtUzmrdMV75+P0gOs5WjJ1c=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333830>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'gitType3_gitee', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33A680>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33A680> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'gitType3_gitee', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>30</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: gitType6_gerrit</td>
                    <td>0.529538</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '1839bf55c0339da6bbb389a45cdb4de744c7ce2ecf6574d23cca019dee09daa1',
 'x-cs-timestamp': '1727075467684'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '6',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'ToEoRzv3DssqaaWdBflpyT6yVcyYJQ2tRQel1h0+BeX0g7KdlwrMSBqaFFjUr4p9hC59DMnyuZwoFryQ7O5wDUII4NURtlosS9B3/W3+c/0ZJfaOlYjISsovRrL+9fsbcp7dhCIo/SaDcU4efNh3cYKCSnxyGnJNxwaQ/piti1w=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'gitType6_gerrit',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=6&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=ToEoRzv3DssqaaWdBflpyT6yVcyYJQ2tRQel1h0+BeX0g7KdlwrMSBqaFFjUr4p9hC59DMnyuZwoFryQ7O5wDUII4NURtlosS9B3/W3+c/0ZJfaOlYjISsovRrL+9fsbcp7dhCIo/SaDcU4efNh3cYKCSnxyGnJNxwaQ/piti1w=&projectDesc=authenticationMethod=0用户名密码认证&projectName=gitType6_gerrit&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075467932&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075467684', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '1839bf55c0339da6bbb389a45cdb4de744c7ce2ecf6574d23cca019dee09daa1', 'lang': 'zh-CN'}
请求参数：{'projectName': 'gitType6_gerrit', 'gitType': '6', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'ToEoRzv3DssqaaWdBflpyT6yVcyYJQ2tRQel1h0+BeX0g7KdlwrMSBqaFFjUr4p9hC59DMnyuZwoFryQ7O5wDUII4NURtlosS9B3/W3+c/0ZJfaOlYjISsovRrL+9fsbcp7dhCIo/SaDcU4efNh3cYKCSnxyGnJNxwaQ/piti1w=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD3338C0>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'master', 'case_name': 'gitType6_gerrit', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33A780>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33A780> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'master', 'case_name': 'gitType6_gerrit', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>31</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: gitType7_bitbucket</td>
                    <td>0.452833</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '1cb79ec3a3eec556a9badd23b55f8ef488af4b7ee5ece8b59b00f2846ddc794c',
 'x-cs-timestamp': '1727075468192'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '7',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'qLctrHcFZ6iPbuBvclQUgBlcpkKKBzequdVy13GJMwfHBq1pIt0JXV5wkhJaFOzUfyaeFsZiokWSPD6FNUcrdCIUX3D7i8/eTvxzsC4HnJkQBt7fKXFMF395dkMefRW5e6Z+tHbTVDyj8vn5kQzD5GUqHYSR41ap0lOEkyuNj88=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'gitType7_bitbucket',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=7&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=qLctrHcFZ6iPbuBvclQUgBlcpkKKBzequdVy13GJMwfHBq1pIt0JXV5wkhJaFOzUfyaeFsZiokWSPD6FNUcrdCIUX3D7i8/eTvxzsC4HnJkQBt7fKXFMF395dkMefRW5e6Z+tHbTVDyj8vn5kQzD5GUqHYSR41ap0lOEkyuNj88=&projectDesc=authenticationMethod=0用户名密码认证&projectName=gitType7_bitbucket&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075468443&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075468192', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '1cb79ec3a3eec556a9badd23b55f8ef488af4b7ee5ece8b59b00f2846ddc794c', 'lang': 'zh-CN'}
请求参数：{'projectName': 'gitType7_bitbucket', 'gitType': '7', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'qLctrHcFZ6iPbuBvclQUgBlcpkKKBzequdVy13GJMwfHBq1pIt0JXV5wkhJaFOzUfyaeFsZiokWSPD6FNUcrdCIUX3D7i8/eTvxzsC4HnJkQBt7fKXFMF395dkMefRW5e6Z+tHbTVDyj8vn5kQzD5GUqHYSR41ap0lOEkyuNj88=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333950>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'master', 'case_name': 'gitType7_bitbucket', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33A8C0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33A8C0> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': 'master', 'case_name': 'gitType7_bitbucket', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>32</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: gitType4</td>
                    <td>0.428312</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：暂不支持的git类型。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '9c21f991656a1f852475a1ba2d6192b7fa929cfd41fa8746d58b5368d6e0bcf3',
 'x-cs-timestamp': '1727075468628'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '4',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'LlhETXrXTSSmGDlpm5lwcKHW4dAICrk3rwiGUnX7hX8xO8uNN1iMxszE7FOJqqAzfqUQCeKSM9jzQnBBxwS9WFvpb92k2UzUJqsps3Hf2LiirvS0Vx3ZaLzU5dqF5FfxVkbA6tt8/S9U0tjNFyzs2XX1wHSd3uywTl4YfzSVApA=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'gitType4',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=4&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=LlhETXrXTSSmGDlpm5lwcKHW4dAICrk3rwiGUnX7hX8xO8uNN1iMxszE7FOJqqAzfqUQCeKSM9jzQnBBxwS9WFvpb92k2UzUJqsps3Hf2LiirvS0Vx3ZaLzU5dqF5FfxVkbA6tt8/S9U0tjNFyzs2XX1wHSd3uywTl4YfzSVApA=&projectDesc=authenticationMethod=0用户名密码认证&projectName=gitType4&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075468840&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B486', 'message': '暂不支持的git类型。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075468628', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '9c21f991656a1f852475a1ba2d6192b7fa929cfd41fa8746d58b5368d6e0bcf3', 'lang': 'zh-CN'}
请求参数：{'projectName': 'gitType4', 'gitType': '4', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'LlhETXrXTSSmGDlpm5lwcKHW4dAICrk3rwiGUnX7hX8xO8uNN1iMxszE7FOJqqAzfqUQCeKSM9jzQnBBxwS9WFvpb92k2UzUJqsps3Hf2LiirvS0Vx3ZaLzU5dqF5FfxVkbA6tt8/S9U0tjNFyzs2XX1wHSd3uywTl4YfzSVApA=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B486', 'message': '暂不支持的git类型。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>33</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: gitType_illegal</td>
                    <td>0.458495</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：gitType 参数类型错误。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'a0b98b5afffd5a3a6e4dba47df0c140a6483bc5a90c4714804f2ce51192895c3',
 'x-cs-timestamp': '1727075469092'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': 'aaa',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'JjdCl75DGKj8vGvGZjB7QsUPthYEQSqw9oYUg8iXxEMUedObsgyvZxyZhS10/m6M6fcEP/xpDNqXdKYFFcvMXUAvK0INpib8Slot/m4irDlSLHpP5tgzwSzF6D6gzRx4/wgSHTx7+vKUza4ghYDsfNUA6vhrhO1iB/LU5Uo7TgA=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'gitType非法',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=aaa&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=JjdCl75DGKj8vGvGZjB7QsUPthYEQSqw9oYUg8iXxEMUedObsgyvZxyZhS10/m6M6fcEP/xpDNqXdKYFFcvMXUAvK0INpib8Slot/m4irDlSLHpP5tgzwSzF6D6gzRx4/wgSHTx7+vKUza4ghYDsfNUA6vhrhO1iB/LU5Uo7TgA=&projectDesc=authenticationMethod=0用户名密码认证&projectName=gitType非法&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075469309&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': 'gitType 参数类型错误。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075469092', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'a0b98b5afffd5a3a6e4dba47df0c140a6483bc5a90c4714804f2ce51192895c3', 'lang': 'zh-CN'}
请求参数：{'projectName': 'gitType非法', 'gitType': 'aaa', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'JjdCl75DGKj8vGvGZjB7QsUPthYEQSqw9oYUg8iXxEMUedObsgyvZxyZhS10/m6M6fcEP/xpDNqXdKYFFcvMXUAvK0INpib8Slot/m4irDlSLHpP5tgzwSzF6D6gzRx4/wgSHTx7+vKUza4ghYDsfNUA6vhrhO1iB/LU5Uo7TgA=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B500', 'message': 'gitType 参数类型错误。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333A70>, testcase = {'assert_csv': '暂不支持的git类型', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'gitType_illegal', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '暂不支持的git类型' in 'gitType 参数类型错误。'
E        +  where '暂不支持的git类型' = <built-in method get of dict object at 0x00000299DD33AA00>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33AA00> = {'assert_csv': '暂不支持的git类型', 'authenticationMethod_csv': '0', 'branch_csv': 'main', 'case_name': 'gitType_illegal', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>34</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: gitType_null</td>
                    <td>0.428002</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：git类型不能为空。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '9db2ee4f092baeee41d0cbf46ecae220609a88668c37be6bd2a866b80001dca8',
 'x-cs-timestamp': '1727075469535'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'iYMMW7eVwVESs3HvRuA2U2e4PdE4m+BW9A3ecz0SpRhpzmn0jhjkYFLSglk9AmVukyjyD8/NXY4rC+ua6BzmJwCdGwT7W2c1zOVz60QTO0nlczdBNywWqvo4hFYhbwOp4mRf3uMajwBUqRaY3DIjRnIiaPBbzyp8S0yRpmpi2sk=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'gitType为空',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=iYMMW7eVwVESs3HvRuA2U2e4PdE4m+BW9A3ecz0SpRhpzmn0jhjkYFLSglk9AmVukyjyD8/NXY4rC+ua6BzmJwCdGwT7W2c1zOVz60QTO0nlczdBNywWqvo4hFYhbwOp4mRf3uMajwBUqRaY3DIjRnIiaPBbzyp8S0yRpmpi2sk=&projectDesc=authenticationMethod=0用户名密码认证&projectName=gitType为空&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075469787&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': 'git类型不能为空。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075469535', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '9db2ee4f092baeee41d0cbf46ecae220609a88668c37be6bd2a866b80001dca8', 'lang': 'zh-CN'}
请求参数：{'projectName': 'gitType为空', 'gitType': '', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'iYMMW7eVwVESs3HvRuA2U2e4PdE4m+BW9A3ecz0SpRhpzmn0jhjkYFLSglk9AmVukyjyD8/NXY4rC+ua6BzmJwCdGwT7W2c1zOVz60QTO0nlczdBNywWqvo4hFYhbwOp4mRf3uMajwBUqRaY3DIjRnIiaPBbzyp8S0yRpmpi2sk=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B500', 'message': 'git类型不能为空。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>35</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: authenticationMethod=0</td>
                    <td>0.374798</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'da176e5014f16135e90796bbaea178f40933bc668b59c5d9ddd47b73da4d0799',
 'x-cs-timestamp': '1727075469934'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '0',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'yDhHmdu5eztHuio51bzeVJWgRwnyzmbZ8v1/I2Rd7AGebHuAu2vZP9eV+ZMWYEocchDy09ErxlBtaVoOGKav9u6FhmXB7LNMOxGTXk6PoflsPJMDQ4OTPN+DxY1G8GQrPR8aFmToEZ9dr1TdreebwEpxZHx7ChP/HL1iHAgsTNA=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'authenticationMethod=0用户名密码认证',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=0&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=yDhHmdu5eztHuio51bzeVJWgRwnyzmbZ8v1/I2Rd7AGebHuAu2vZP9eV+ZMWYEocchDy09ErxlBtaVoOGKav9u6FhmXB7LNMOxGTXk6PoflsPJMDQ4OTPN+DxY1G8GQrPR8aFmToEZ9dr1TdreebwEpxZHx7ChP/HL1iHAgsTNA=&projectDesc=authenticationMethod=0用户名密码认证&projectName=authenticationMethod=0用户名密码认证&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075470111&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075469934', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'da176e5014f16135e90796bbaea178f40933bc668b59c5d9ddd47b73da4d0799', 'lang': 'zh-CN'}
请求参数：{'projectName': 'authenticationMethod=0用户名密码认证', 'gitType': '1', 'authenticationMethod': '0', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'yDhHmdu5eztHuio51bzeVJWgRwnyzmbZ8v1/I2Rd7AGebHuAu2vZP9eV+ZMWYEocchDy09ErxlBtaVoOGKav9u6FhmXB7LNMOxGTXk6PoflsPJMDQ4OTPN+DxY1G8GQrPR8aFmToEZ9dr1TdreebwEpxZHx7ChP/HL1iHAgsTNA=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333B90>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': '', 'case_name': 'authenticationMethod=0', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33ABC0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33ABC0> = {'assert_csv': '成功', 'authenticationMethod_csv': '0', 'branch_csv': '', 'case_name': 'authenticationMethod=0', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>36</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: authenticationMethod=1</td>
                    <td>0.496635</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'a70df0336c2fa097a07969d801f7e5c779aea2f6f782691c9dbecd53fcd7d627',
 'x-cs-timestamp': '1727075470378'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '1',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'q6WldqQXrxTezkjY9/FeqbZZrL3cX2SYXW7dqhWTKduWEzMLhZQNqxx4QGIkWTLJ0LWvWYMjmXgPJ6ofq4144u4Dvf6A+cbZF/c0c5lqT8vBU39Ulqd43fanUR3hA1kKOO7xAHDa6quKhSnwy7dzidMwt0XfqNo/CsQXXwiDcJg=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'authenticationMethod=1token认证',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=1&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=q6WldqQXrxTezkjY9/FeqbZZrL3cX2SYXW7dqhWTKduWEzMLhZQNqxx4QGIkWTLJ0LWvWYMjmXgPJ6ofq4144u4Dvf6A+cbZF/c0c5lqT8vBU39Ulqd43fanUR3hA1kKOO7xAHDa6quKhSnwy7dzidMwt0XfqNo/CsQXXwiDcJg=&projectDesc=authenticationMethod=0用户名密码认证&projectName=authenticationMethod=1token认证&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075470620&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075470378', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'a70df0336c2fa097a07969d801f7e5c779aea2f6f782691c9dbecd53fcd7d627', 'lang': 'zh-CN'}
请求参数：{'projectName': 'authenticationMethod=1token认证', 'gitType': '1', 'authenticationMethod': '1', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'q6WldqQXrxTezkjY9/FeqbZZrL3cX2SYXW7dqhWTKduWEzMLhZQNqxx4QGIkWTLJ0LWvWYMjmXgPJ6ofq4144u4Dvf6A+cbZF/c0c5lqT8vBU39Ulqd43fanUR3hA1kKOO7xAHDa6quKhSnwy7dzidMwt0XfqNo/CsQXXwiDcJg=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333C20>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '1', 'branch_csv': '', 'case_name': 'authenticationMethod=1', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33AC80>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33AC80> = {'assert_csv': '成功', 'authenticationMethod_csv': '1', 'branch_csv': '', 'case_name': 'authenticationMethod=1', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>37</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: authenticationMethod=2</td>
                    <td>0.478026</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '2c27da6e7211ec723fd84007eaec2d0effd7efad77e8528f5d307d812dd73963',
 'x-cs-timestamp': '1727075470844'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '2',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'c1666NH/f3uLYR6dU6slJOeCOoT7OqJ2iGL+x6n8cRQUJDVDpwGYn6/VgTUEP/9fZJGpu2VmUhC3nzxmUjon0gsZYIIFpHLjqLBB/jAX38aRoKK0wQbwK5OwVzt/LcWqRJvVuU7Uuf/OO7EMOK16HpU31xl1Whly5WZdJpUCnFU=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'authenticationMethod=2SSH密钥',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=2&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=c1666NH/f3uLYR6dU6slJOeCOoT7OqJ2iGL+x6n8cRQUJDVDpwGYn6/VgTUEP/9fZJGpu2VmUhC3nzxmUjon0gsZYIIFpHLjqLBB/jAX38aRoKK0wQbwK5OwVzt/LcWqRJvVuU7Uuf/OO7EMOK16HpU31xl1Whly5WZdJpUCnFU=&projectDesc=authenticationMethod=0用户名密码认证&projectName=authenticationMethod=2SSH密钥&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075471103&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075470844', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '2c27da6e7211ec723fd84007eaec2d0effd7efad77e8528f5d307d812dd73963', 'lang': 'zh-CN'}
请求参数：{'projectName': 'authenticationMethod=2SSH密钥', 'gitType': '1', 'authenticationMethod': '2', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'c1666NH/f3uLYR6dU6slJOeCOoT7OqJ2iGL+x6n8cRQUJDVDpwGYn6/VgTUEP/9fZJGpu2VmUhC3nzxmUjon0gsZYIIFpHLjqLBB/jAX38aRoKK0wQbwK5OwVzt/LcWqRJvVuU7Uuf/OO7EMOK16HpU31xl1Whly5WZdJpUCnFU=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333CB0>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '2', 'branch_csv': '', 'case_name': 'authenticationMethod=2', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '指定团队下项目名已经存在。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33AD40>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33AD40> = {'assert_csv': '成功', 'authenticationMethod_csv': '2', 'branch_csv': '', 'case_name': 'authenticationMethod=2', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>38</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: authenticationMethod=3</td>
                    <td>0.510504</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队下项目名已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '1d33c30c5ca9f711f083f13b2a05b6af2d88dab0deacb4a97ccdedd2ddfb7059',
 'x-cs-timestamp': '1727075471353'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '2',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'VajT7rKAOyPBBfXRTJgfIvATXoHgJHzVzYXfPbH42iU+Xfw1LzvvdK6rN9i5mlYRQ+hu2hTDKupbBYH4qSoksFk9Enx1JhI/sSAe2JlxepKoXb+nG4Ai9qpyNUkW15FPXyXETunNU5AV0BovgA5x9FJYPL7FMqfUBAxh+vZ2ZUw=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'authenticationMethod=3不存在参数',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sauthenticationMethod=2&branch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=VajT7rKAOyPBBfXRTJgfIvATXoHgJHzVzYXfPbH42iU+Xfw1LzvvdK6rN9i5mlYRQ+hu2hTDKupbBYH4qSoksFk9Enx1JhI/sSAe2JlxepKoXb+nG4Ai9qpyNUkW15FPXyXETunNU5AV0BovgA5x9FJYPL7FMqfUBAxh+vZ2ZUw=&projectDesc=authenticationMethod=0用户名密码认证&projectName=authenticationMethod=3不存在参数&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075471611&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队下项目名已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075471353', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '1d33c30c5ca9f711f083f13b2a05b6af2d88dab0deacb4a97ccdedd2ddfb7059', 'lang': 'zh-CN'}
请求参数：{'projectName': 'authenticationMethod=3不存在参数', 'gitType': '1', 'authenticationMethod': '2', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'VajT7rKAOyPBBfXRTJgfIvATXoHgJHzVzYXfPbH42iU+Xfw1LzvvdK6rN9i5mlYRQ+hu2hTDKupbBYH4qSoksFk9Enx1JhI/sSAe2JlxepKoXb+nG4Ai9qpyNUkW15FPXyXETunNU5AV0BovgA5x9FJYPL7FMqfUBAxh+vZ2ZUw=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B408', 'message': '指定团队下项目名已经存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333D40>, testcase = {'assert_csv': '暂不支持的认证类型', 'authenticationMethod_csv': '2', 'branch_csv': '', 'case_name': 'authenticationMethod=3', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '暂不支持的认证类型' in '指定团队下项目名已经存在。'
E        +  where '暂不支持的认证类型' = <built-in method get of dict object at 0x00000299DD33ADC0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33ADC0> = {'assert_csv': '暂不支持的认证类型', 'authenticationMethod_csv': '2', 'branch_csv': '', 'case_name': 'authenticationMethod=3', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>39</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: authenticationMethod_null</td>
                    <td>0.772266</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：认证类型不能为空。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '2c68b2cb494f004193440b51d4c94811efe1f61961418cdfbbd492ed30a3f073',
 'x-cs-timestamp': '1727075472063'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'AtLcnvSJ3fONGOwi5++ZAF/ZkslRbuNuLfTgUN6AGLy2iIzyaiwP10F8MgIf+KcW8fUL374VEUONJa8QeASx2KtE41oLccfSGWPjSMVhEzRrT+vHLxjXXGb3MttGvLILHlzlYKkLd15IT3WdBd5qysF/7nkIweRLs/9m5CZsVMc=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'authenticationMethod为空',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sbranch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=AtLcnvSJ3fONGOwi5++ZAF/ZkslRbuNuLfTgUN6AGLy2iIzyaiwP10F8MgIf+KcW8fUL374VEUONJa8QeASx2KtE41oLccfSGWPjSMVhEzRrT+vHLxjXXGb3MttGvLILHlzlYKkLd15IT3WdBd5qysF/7nkIweRLs/9m5CZsVMc=&projectDesc=authenticationMethod=0用户名密码认证&projectName=authenticationMethod为空&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075472346&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': '认证类型不能为空。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075472063', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '2c68b2cb494f004193440b51d4c94811efe1f61961418cdfbbd492ed30a3f073', 'lang': 'zh-CN'}
请求参数：{'projectName': 'authenticationMethod为空', 'gitType': '1', 'authenticationMethod': '', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'AtLcnvSJ3fONGOwi5++ZAF/ZkslRbuNuLfTgUN6AGLy2iIzyaiwP10F8MgIf+KcW8fUL374VEUONJa8QeASx2KtE41oLccfSGWPjSMVhEzRrT+vHLxjXXGb3MttGvLILHlzlYKkLd15IT3WdBd5qysF/7nkIweRLs/9m5CZsVMc=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B500', 'message': '认证类型不能为空。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>40</td>
                    <td class="caseexternaApitest_createProjectByGitInfopy">case\externaApi\test_createProjectByGitInfo.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByGitInfo_test</td>
                    <td>case_name: username_null</td>
                    <td>0.464062</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：认证类型不能为空。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '0cf6112523e093ab22bdfab4f4a66ed962108b3d27279ef23b30e3092bed2d31',
 'x-cs-timestamp': '1727075472647'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'authenticationMethod': '',
 'branch': 'main',
 'callBackUrl': '',
 'checkCommitId': '',
 'commitId': '',
 'depotId': '',
 'extraMark': '',
 'fastScan': '',
 'fileFilter': '',
 'gitType': '1',
 'isIncrScan': '',
 'isOpenDepend': '',
 'isTokenEncrypt': '',
 'language': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'password': 'a8b4TnX5biCv3zU66TB7BVA7I+wYwATGu4+SHb82/BMO3K+bAySW4nPA5RdJLuWzRrqtSEqDq/Wncx8K8NdxeI2V5HS2x+9mD1S8CwDE2ohC7U1Scl9NXjhIg1KIbxU1sPfkHNOfpQ+vfrSINwB9/7liMYuSbq1aphZokDDM41g=',
 'projectDesc': 'authenticationMethod=0用户名密码认证',
 'projectName': 'username为空',
 'pullFileName': '',
 'ruleSetId': '',
 'tag': '',
 'type': '1',
 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git',
 'urlHead': '0',
 'username': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sbranch=main&gitType=1&language=1&orgUuid=00a7b33e-f075-4758-9ef0-d1bb989748ac&password=a8b4TnX5biCv3zU66TB7BVA7I+wYwATGu4+SHb82/BMO3K+bAySW4nPA5RdJLuWzRrqtSEqDq/Wncx8K8NdxeI2V5HS2x+9mD1S8CwDE2ohC7U1Scl9NXjhIg1KIbxU1sPfkHNOfpQ+vfrSINwB9/7liMYuSbq1aphZokDDM41g=&projectDesc=authenticationMethod=0用户名密码认证&projectName=username为空&type=1&url=http://192.168.2.77:9010/heyaohua/audit3.git&urlHead=0&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075472884&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': '认证类型不能为空。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByGitInfo 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075472647', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '0cf6112523e093ab22bdfab4f4a66ed962108b3d27279ef23b30e3092bed2d31', 'lang': 'zh-CN'}
请求参数：{'projectName': 'username为空', 'gitType': '1', 'authenticationMethod': '', 'url': 'http://192.168.2.77:9010/heyaohua/audit3.git', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'urlHead': '0', 'username': '', 'password': 'a8b4TnX5biCv3zU66TB7BVA7I+wYwATGu4+SHb82/BMO3K+bAySW4nPA5RdJLuWzRrqtSEqDq/Wncx8K8NdxeI2V5HS2x+9mD1S8CwDE2ohC7U1Scl9NXjhIg1KIbxU1sPfkHNOfpQ+vfrSINwB9/7liMYuSbq1aphZokDDM41g=', 'isTokenEncrypt': '', 'branch': 'main', 'tag': '', 'checkCommitId': '', 'commitId': '', 'extraMark': '', 'fileFilter': '', 'callBackUrl': '', 'language': '1', 'type': '1', 'isOpenDepend': '', 'depotId': '', 'pullFileName': '', 'ruleSetId': '', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'fastScan': '', 'isIncrScan': ''}
响应：{'status': False, 'code': 'B500', 'message': '认证类型不能为空。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_createProjectByGitInfo.TestCodeSecAPI object at 0x00000299DD333E60>, testcase = {'assert_csv': '成功', 'authenticationMethod_csv': '', 'branch_csv': '', 'case_name': 'username_null', ...}

    @pytest.mark.parametrize("testcase", request_data, ids=request_ids)   # ids指定用例名称
    def test3_createProjectByGitInfo_test(self, testcase):
        projectDesc_csv = testcase.get("projectDesc_csv")
        f"""{projectDesc_csv}"""
        base_path = f"/project/createProjectByGitInfo"
        url = base_url + base_path
        password_rsa = rsa_encode(testcase.get("password_csv"))
        parameter = {
            "projectName": testcase.get("projectName_csv"),
            "gitType": testcase.get("gitType_csv"),
            "authenticationMethod": testcase.get("authenticationMethod_csv"),
            "url": "http://192.168.2.77:9010/heyaohua/audit3.git",
            "projectDesc": "authenticationMethod=0用户名密码认证",
            "urlHead": "0",
            "username": "",
            "password": password_rsa,
            "isTokenEncrypt": "",
            "branch": "main",
            "tag": "",
            "checkCommitId": "",
            "commitId": "",
            "extraMark": "",
            "fileFilter": "",
            "callBackUrl": "",
            "language": "1",
            "type": "1",
            "isOpenDepend": "",
            "depotId": "",
            "pullFileName": "",
            "ruleSetId": "",
            "orgUuid": "00a7b33e-f075-4758-9ef0-d1bb989748ac",
            "fastScan": "",
            "isIncrScan": ""
        }
        response = send_request(url, "post", parameter, base_path)
>       assert testcase.get("assert_csv") in response["message"]
E       AssertionError: assert '成功' in '认证类型不能为空。'
E        +  where '成功' = <built-in method get of dict object at 0x00000299DD33AEC0>('assert_csv')
E        +    where <built-in method get of dict object at 0x00000299DD33AEC0> = {'assert_csv': '成功', 'authenticationMethod_csv': '', 'branch_csv': '', 'case_name': 'username_null', ...}.get

case\externaApi\test_createProjectByGitInfo.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>41</td>
                    <td class="caseexternaApitest_createProjectByVoidpy">case\externaApi\test_createProjectByVoid.py</td>
                    <td>TestCodeSecAPI.test1_createProjectByVoid_success</td>
                    <td>4.1.3创建空项目 成功1：团管创建</td>
                    <td>0.678448</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': '7b214572-4f1d-4630-ba73-12731ecfdf02',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '2b1a238b2eeddcb2a38e445545745ea1151d246bfea0581021400cd0c9f2562c',
 'x-cs-timestamp': '1727075473109'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'projectName': '接口创建1727075472970'}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%sprojectName=接口创建1727075472970&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075473575&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
          'projectUuid': 'a1865a43-0ed1-4541-9033-ca1bc285f37f'},
 'message': '创建项目成功',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid 
请求头：{'accessKey': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'x-cs-timestamp': '1727075473109', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '2b1a238b2eeddcb2a38e445545745ea1151d246bfea0581021400cd0c9f2562c', 'lang': 'zh-CN'}
请求参数：{'projectName': '接口创建1727075472970'}
响应：{'status': True, 'code': 'B200', 'message': '创建项目成功', 'data': {'projectUuid': 'a1865a43-0ed1-4541-9033-ca1bc285f37f', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac'}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>42</td>
                    <td class="caseexternaApitest_createProjectByVoidpy">case\externaApi\test_createProjectByVoid.py</td>
                    <td>TestCodeSecAPI.test2_createProjectByVoid_fail_notorguuid</td>
                    <td>4.1.3创建空项目 失败1 - 不传orgUuid</td>
                    <td>0.374919</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队不能为空--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '6516c3be2d173b5b8aeb5d076020193a01a03cacbec87da5c9ed3cf078d0475b',
 'x-cs-timestamp': '1727075473736'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'projectName': '接口创建1727075473649'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sprojectName=接口创建1727075473649&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075473959&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队不能为空', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075473736', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '6516c3be2d173b5b8aeb5d076020193a01a03cacbec87da5c9ed3cf078d0475b', 'lang': 'zh-CN'}
请求参数：{'projectName': '接口创建1727075473649'}
响应：{'status': False, 'code': 'B408', 'message': '指定团队不能为空'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>43</td>
                    <td class="caseexternaApitest_createProjectByVoidpy">case\externaApi\test_createProjectByVoid.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByVoid_fail_orguuidNull</td>
                    <td>4.1.3创建空项目 失败2 - orgUuid传空值</td>
                    <td>0.366068</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：团队UUID非法。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'd35979a4b7555fe3ced886ec61483f8191a03a54165ac8744e686288f2c2bf39',
 'x-cs-timestamp': '1727075474126'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'orgUuid': '', 'projectName': '接口创建123'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sprojectName=接口创建123&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075474307&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '团队UUID非法。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075474126', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'd35979a4b7555fe3ced886ec61483f8191a03a54165ac8744e686288f2c2bf39', 'lang': 'zh-CN'}
请求参数：{'projectName': '接口创建123', 'orgUuid': ''}
响应：{'status': False, 'code': 'B408', 'message': '团队UUID非法。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>44</td>
                    <td class="caseexternaApitest_editVulTagpy">case\externaApi\test_editVulTag.py</td>
                    <td>TestCodeSecAPI.test_editVulTag_testcase</td>
                    <td>None</td>
                    <td>0.440787</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目UUID格式不正确。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'e09198d05011d2013f896e0a0ec6d563da111430fa6a748a2c2f3d9877970fe9',
 'x-cs-timestamp': '1727075474516'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'pageSize': 1, 'type': '1', 'vulDataId': '92'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%spageSize=1&type=1&vulDataId=92&None&None&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075474761&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '项目UUID格式不正确。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075474516', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'e09198d05011d2013f896e0a0ec6d563da111430fa6a748a2c2f3d9877970fe9', 'lang': 'zh-CN'}
请求参数：{'pageSize': 1, 'type': '1', 'vulDataId': '92'}
响应：{'status': False, 'code': 'B408', 'message': '项目UUID格式不正确。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_editVulTag.TestCodeSecAPI object at 0x00000299DD36DA60>

    def test_editVulTag_testcase(self):
        # print(projectUuid, appId, statusStaticCode, recordId)
>       print(getListDetailByVulDataId_static_vul("1"))

case\externaApi\test_editVulTag.py:27: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

type = '1'

    def getListDetailByVulDataId_static_vul(type):
        # 创建参数字典
        parameter = {
            "pageSize": 1,
            "type": type if type == "1" else "0",  # 如果传入参数为1，则为编码规范类型，否则为静态漏洞类型
            "vulDataId": "92" if type == "1" else "010bfb6a-8495-4f0c-8a01-ed1074528d03"  # 根据类型设置相应的 vulDataId
        }
    
        # 调用 getListDetailByVulDataId 函数
        response = getListDetailByVulDataId(parameter)
    
        # 根据类型获取对应的 vulId
        vulId = response['data']['vulTraces'][0]['nodeList'][0]['vulId'] if type == "0" else \
>           response['data']['vulTraces'][0]['recordId']
E       KeyError: 'data'

case\externaApi\test_editVulTag.py:19: KeyError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>45</td>
                    <td class="caseexternaApitest_editVulTagpy">case\externaApi\test_editVulTag.py</td>
                    <td>TestCodeSecAPI.test_editVulTag_success</td>
                    <td>4.4.1标记漏洞状态_成功：静态漏洞</td>
                    <td>0.452624</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目UUID格式不正确。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '7de39e299dcb122ac40306e8fe7f76bff3b84d352cfea5378f869cb8d0529d02',
 'x-cs-timestamp': '1727075474941'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'pageSize': 1,
 'type': '0',
 'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%spageSize=1&type=0&vulDataId=010bfb6a-8495-4f0c-8a01-ed1074528d03&None&None&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075475202&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '项目UUID格式不正确。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075474941', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '7de39e299dcb122ac40306e8fe7f76bff3b84d352cfea5378f869cb8d0529d02', 'lang': 'zh-CN'}
请求参数：{'pageSize': 1, 'type': '0', 'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}
响应：{'status': False, 'code': 'B408', 'message': '项目UUID格式不正确。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_editVulTag.TestCodeSecAPI object at 0x00000299DD36D010>

    def test_editVulTag_success(self):
        """4.4.1标记漏洞状态_成功：静态漏洞"""
>       vulId = getListDetailByVulDataId_static_vul("0")  # 0为静态漏洞

case\externaApi\test_editVulTag.py:31: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

type = '0'

    def getListDetailByVulDataId_static_vul(type):
        # 创建参数字典
        parameter = {
            "pageSize": 1,
            "type": type if type == "1" else "0",  # 如果传入参数为1，则为编码规范类型，否则为静态漏洞类型
            "vulDataId": "92" if type == "1" else "010bfb6a-8495-4f0c-8a01-ed1074528d03"  # 根据类型设置相应的 vulDataId
        }
    
        # 调用 getListDetailByVulDataId 函数
        response = getListDetailByVulDataId(parameter)
    
        # 根据类型获取对应的 vulId
>       vulId = response['data']['vulTraces'][0]['nodeList'][0]['vulId'] if type == "0" else \
            response['data']['vulTraces'][0]['recordId']
E       KeyError: 'data'

case\externaApi\test_editVulTag.py:18: KeyError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>46</td>
                    <td class="caseexternaApitest_editVulTagpy">case\externaApi\test_editVulTag.py</td>
                    <td>TestCodeSecAPI.test_editVulTag_success2</td>
                    <td>4.4.1标记漏洞状态_成功 - 编码规范漏洞</td>
                    <td>0.511630</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目UUID格式不正确。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '273885e8437c48a296048ea765898c9a5cb14452415951b873a1992c7bfdf27f',
 'x-cs-timestamp': '1727075475436'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'pageSize': 1, 'type': '1', 'vulDataId': '92'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%spageSize=1&type=1&vulDataId=92&None&None&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075475710&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '项目UUID格式不正确。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075475436', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '273885e8437c48a296048ea765898c9a5cb14452415951b873a1992c7bfdf27f', 'lang': 'zh-CN'}
请求参数：{'pageSize': 1, 'type': '1', 'vulDataId': '92'}
响应：{'status': False, 'code': 'B408', 'message': '项目UUID格式不正确。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_editVulTag.TestCodeSecAPI object at 0x00000299DD36D220>

    def test_editVulTag_success2(self):
        """4.4.1标记漏洞状态_成功 - 编码规范漏洞"""
>       vulId = getListDetailByVulDataId_static_vul("1")  # 1为编码规范

case\externaApi\test_editVulTag.py:47: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

type = '1'

    def getListDetailByVulDataId_static_vul(type):
        # 创建参数字典
        parameter = {
            "pageSize": 1,
            "type": type if type == "1" else "0",  # 如果传入参数为1，则为编码规范类型，否则为静态漏洞类型
            "vulDataId": "92" if type == "1" else "010bfb6a-8495-4f0c-8a01-ed1074528d03"  # 根据类型设置相应的 vulDataId
        }
    
        # 调用 getListDetailByVulDataId 函数
        response = getListDetailByVulDataId(parameter)
    
        # 根据类型获取对应的 vulId
        vulId = response['data']['vulTraces'][0]['nodeList'][0]['vulId'] if type == "0" else \
>           response['data']['vulTraces'][0]['recordId']
E       KeyError: 'data'

case\externaApi\test_editVulTag.py:19: KeyError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>47</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_login_admin</td>
                    <td>None</td>
                    <td>0.000634</td>
                    
                    <td class="text-info">跳过</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">('E:\\学习项目\\CodesecApi\\case\\externaApi\\test_externaApi_case.py', 12, 'Skipped: unconditional skip')</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>48</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_login_sec</td>
                    <td>None</td>
                    <td>0.106186</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:fb9d6032-e3ff-4357-8c42-18a17fd855bf
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>49</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_login_team</td>
                    <td>None</td>
                    <td>0.065248</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:7b214572-4f1d-4630-ba73-12731ecfdf02
团队orgUuid:00a7b33e-f075-4758-9ef0-d1bb989748ac
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>50</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_deleteProject</td>
                    <td>None</td>
                    <td>0.000413</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">['a1865a43-0ed1-4541-9033-ca1bc285f37f']
['8edfcc2f-13ef-4cdc-91ea-0b1e75525e44']
接口创建相关项目已清空！

前置步骤：删除多余项目用例！
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>51</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_project_list</td>
                    <td>None</td>
                    <td>0.206863</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/list
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiJhZTAwNjRmOS1hNTc1LTRkMmEtYjMyZC0wNzM0NTNmMzMyMGYifQ.bogQo6__g6jQsMVP_bgfJo9zeUXYxK2p60JZqOObixhiekUdYQE0q2Eh5RtvXYb5409idRjQOMWqgZV4jY1RcA',
 'lang': 'zh-CN',
 'loginNonce': '9958861c-0579-4f98-b310-71de5cfb9296',
 'sign': 'e1f39242d5c6f0e6a13d0c49992bf411610c7f87509415e9f34351f9540587cd',
 'timestamp': '1727075476417',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'pageSize': '100', 'projectType': '1'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'pageCurrent': 1,
          'pageSize': 100,
          'pageTotal': 1,
          'recordTotal': 30,
          'records': [{'appId': 'd3b0d2b2-aa76-4a96-a688-a97af5fb172e',
                       'createTime': '2024-09-19 10:34:41',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1380,
                       'groupId': 1,
                       'id': 1384,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'authenticationMethod=3不存在参数',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'authenticationMethod=3不存在参数',
                       'projectType': 1,
                       'projectUuid': 'c1a52b32-94c5-4d26-82c5-4fce4f5240a6',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:41',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'e0936335-0c6c-4dde-aa88-606b062dec7d',
                       'createTime': '2024-09-19 10:34:40',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1379,
                       'groupId': 1,
                       'id': 1383,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'authenticationMethod=2SSH密钥',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'authenticationMethod=2SSH密钥',
                       'projectType': 1,
                       'projectUuid': 'cf83ec69-ca0d-4bb5-a59e-309f8c9cd768',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:40',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '5669177f-4dfd-44e4-a54c-06c17e7b987f',
                       'createTime': '2024-09-19 10:34:38',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1378,
                       'groupId': 1,
                       'id': 1382,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'authenticationMethod=1token认证',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'authenticationMethod=1token认证',
                       'projectType': 1,
                       'projectUuid': 'f3acb8e3-7e75-44e7-8a6e-48d5efee0275',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:38',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '47e97a92-2dbe-4abd-b2fc-7c2c8acd3f4f',
                       'createTime': '2024-09-19 10:34:37',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1377,
                       'groupId': 1,
                       'id': 1381,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'authenticationMethod=0用户名密码认证',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'authenticationMethod=0用户名密码认证',
                       'projectType': 1,
                       'projectUuid': '2bc261af-2b6e-497f-a868-86354544ac20',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:37',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'cc602897-d15f-4107-9f67-8ea17f5e6253',
                       'createTime': '2024-09-19 10:34:35',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1376,
                       'groupId': 1,
                       'id': 1380,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType4',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType4',
                       'projectType': 1,
                       'projectUuid': 'f786f1aa-77cc-4603-955b-cf3ec2cc0201',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:35',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'e1c143f9-9995-4c97-afdc-8143c3c826c1',
                       'createTime': '2024-09-19 10:34:34',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1375,
                       'groupId': 1,
                       'id': 1379,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType7_bitbucket',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType7_bitbucket',
                       'projectType': 1,
                       'projectUuid': 'f805edb5-f1f5-4a43-822a-6e32a7352e51',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:34',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'df85fab2-b357-4032-b7ad-015f3dd7528f',
                       'createTime': '2024-09-19 10:34:33',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1374,
                       'groupId': 1,
                       'id': 1378,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType6_gerrit',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType6_gerrit',
                       'projectType': 1,
                       'projectUuid': 'f2ebf8c0-a638-41a2-a946-aff57cc22825',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:33',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '6a10195a-3b81-47a6-b528-30d585cd1087',
                       'createTime': '2024-09-19 10:34:32',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1373,
                       'groupId': 1,
                       'id': 1377,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType3_gitee',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType3_gitee',
                       'projectType': 1,
                       'projectUuid': '063a6366-024b-446e-adc0-53c420c27af8',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:32',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '7bbac81d-10fa-4076-a253-c5b0bf71cee4',
                       'createTime': '2024-09-19 10:34:31',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1372,
                       'groupId': 1,
                       'id': 1376,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType2_github',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType2_github',
                       'projectType': 1,
                       'projectUuid': '67f61888-7541-492d-a3f1-01b147bc0c58',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:31',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'eb113f1b-cccf-4ae1-a15a-1fcdb1d5d2d6',
                       'createTime': '2024-09-19 10:34:30',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1371,
                       'groupId': 1,
                       'id': 1375,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'urlHead非法',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'urlHead非法',
                       'projectType': 1,
                       'projectUuid': 'ffc5a5f3-6b43-46ca-8a2a-28f04c94d325',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:30',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '4eeeb2f2-ef9c-4325-8218-830a0ba664cf',
                       'createTime': '2024-09-19 10:34:28',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1370,
                       'groupId': 1,
                       'id': 1374,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'urlHead为空',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'urlHead为空',
                       'projectType': 1,
                       'projectUuid': 'd67aeb4b-0e54-4309-b243-3eb98f8bc6cd',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:28',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'b0f16f6f-427c-463e-af26-8af25293638a',
                       'createTime': '2024-09-19 10:34:27',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1369,
                       'groupId': 1,
                       'id': 1373,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'urlHead=2',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'urlHead=2',
                       'projectType': 1,
                       'projectUuid': 'c26cc1e9-6c3e-4697-8a1a-7d46fae05e93',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:27',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'c8f82e48-dff5-4a09-b03d-a7d543d40fc1',
                       'createTime': '2024-09-19 10:34:26',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1368,
                       'groupId': 1,
                       'id': 1372,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'urlHead=1',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'urlHead=1',
                       'projectType': 1,
                       'projectUuid': '7ee624f7-0bad-4d93-a508-cf1500b26bd4',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:26',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '12edc298-28fd-411e-84ce-22c14a8ee04a',
                       'createTime': '2024-09-19 10:34:25',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1367,
                       'groupId': 1,
                       'id': 1371,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'urlHead=0',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'urlHead=0',
                       'projectType': 1,
                       'projectUuid': '7b0c619c-0402-4fff-9715-b6c3bba4c78a',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:25',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '24201c20-c8e4-40e7-ad10-d9705ccd34aa',
                       'createTime': '2024-09-19 10:34:24',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1366,
                       'groupId': 1,
                       'id': 1370,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'url字符超长',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'url字符超长',
                       'projectType': 1,
                       'projectUuid': 'fbae891c-0ab7-4ea5-9d08-56e4ad2a7db5',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:24',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'ce6cf2f7-9c16-4205-b9ca-1aca0989ad2e',
                       'createTime': '2024-09-19 10:34:23',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1365,
                       'groupId': 1,
                       'id': 1369,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'url包含空格',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'url包含空格',
                       'projectType': 1,
                       'projectUuid': '37c082f8-1643-4086-a297-a7bcf566660c',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:23',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '07ee04af-6838-4df1-8682-70cd4b02b060',
                       'createTime': '2024-09-19 10:34:21',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1364,
                       'groupId': 1,
                       'id': 1368,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'url格式错误',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'url格式错误',
                       'projectType': 1,
                       'projectUuid': 'c0e1fa90-3983-4f38-81ff-ef2b4913edd9',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:21',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '28761c56-ecbc-4c45-8ed4-50bf5fa4f668',
                       'createTime': '2024-09-19 10:34:20',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1363,
                       'groupId': 1,
                       'id': 1367,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'url为空',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'url为空',
                       'projectType': 1,
                       'projectUuid': 'ceddae3c-05cb-42ab-ad87-e0b6cb2570a5',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:20',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'ab9042cf-ea89-4b73-81d7-6ea313c79436',
                       'createTime': '2024-09-19 10:34:19',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1362,
                       'groupId': 1,
                       'id': 1366,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'url正常',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'url正常',
                       'projectType': 1,
                       'projectUuid': '161eb893-ca30-4fdd-b9ed-03d5e2fb9db2',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:19',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '788d35bf-0128-4fa7-9c49-5ba3ec5d2a0c',
                       'createTime': '2024-09-19 10:34:18',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1361,
                       'groupId': 1,
                       'id': 1365,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'projectDesc500个字符',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'projectDesc500个字符',
                       'projectType': 1,
                       'projectUuid': 'b2d2dd26-9ccf-40d7-a8e7-7302f3951cf9',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:18',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'ff9835bf-7873-4fe2-9e8c-227d07e6d44c',
                       'createTime': '2024-09-19 10:34:17',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1360,
                       'groupId': 1,
                       'id': 1364,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'projectDesc两个字符',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'projectDesc两个字符',
                       'projectType': 1,
                       'projectUuid': '37feb24b-432d-4d22-81ed-bef3439bae73',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:17',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'ab695e12-80b2-450c-8c28-f6722f1d8ef2',
                       'createTime': '2024-09-19 10:34:16',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1359,
                       'groupId': 1,
                       'id': 1363,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'projectDesc包含特殊字符',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'projectDesc包含特殊字符',
                       'projectType': 1,
                       'projectUuid': '15f48b2c-dc22-441f-aa56-80fde5ee3b18',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:16',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'a9ba7554-4f6d-4a0e-91e4-5b5b9bf8d7a3',
                       'createTime': '2024-09-19 10:34:15',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1358,
                       'groupId': 1,
                       'id': 1362,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'projectDesc只有空格',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'projectDesc只有空格',
                       'projectType': 1,
                       'projectUuid': 'cbb70054-0df6-4589-82f8-1db284645496',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:15',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '8337fcc0-92f3-4a79-993e-6fb772fca0f6',
                       'createTime': '2024-09-19 10:34:14',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1357,
                       'groupId': 1,
                       'id': 1361,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'projectDesc超长：513个字符',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'projectDesc超长：513个字符',
                       'projectType': 1,
                       'projectUuid': '70bba8a9-5b0a-48a2-b93c-9eabb81179bb',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:14',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'd2ec6c27-7498-4074-83f3-979c9ea4a420',
                       'createTime': '2024-09-19 10:34:13',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1356,
                       'groupId': 1,
                       'id': 1360,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'projectDesc为空',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'projectDesc为空',
                       'projectType': 1,
                       'projectUuid': '102a8889-8afa-4203-956c-74ba0d3487dc',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:13',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'a897d907-d0de-4057-ae0e-f5ce6aa27e90',
                       'createTime': '2024-09-19 10:34:12',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1355,
                       'groupId': 1,
                       'id': 1359,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': '空格   自动   清除',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': '空格   自动   清除',
                       'projectType': 1,
                       'projectUuid': 'f760ad15-1d3a-48aa-bf03-a895764d41e1',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:12',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'createTime': '2024-09-19 10:34:11',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'groupId': 1,
                       'id': 1358,
                       'isEdit': 0,
                       'isIde': 0,
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': '01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789555551234512',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': '01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789555551234512',
                       'projectType': 1,
                       'projectUuid': '32d2dd6d-70bf-49cd-b78a-e90b2274eca4',
                       'sendReportFlag': False,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 0,
                       'statusTask': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:11',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '923c97df-329b-4543-a3c5-efb3670c9d5e',
                       'createTime': '2024-09-19 10:34:10',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1353,
                       'groupId': 1,
                       'id': 1357,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': '根据',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': '根据',
                       'projectType': 1,
                       'projectUuid': 'cd5c6b38-1108-4f09-9647-dacaececd7d5',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:10',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '4587f3cc-67d0-49b4-9db1-407fd9955a0e',
                       'createTime': '2024-09-19 10:34:09',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1352,
                       'groupId': 1,
                       'id': 1356,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': '   ',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': '   ',
                       'projectType': 1,
                       'projectUuid': '2a87d076-878c-4c94-b049-f5e5e8b221ef',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:09',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'c4868633-7027-41be-a5a4-5624ccd7820e',
                       'containLan': '1',
                       'createTime': '2024-09-18 16:29:13',
                       'exportBtn': True,
                       'exportReportFlag': True,
                       'extraMark': '',
                       'finishRecordIdStatic': 'a9658906-2730-4b94-8664-e13c7f754f49',
                       'finishTime': '2024-09-19 17:03:25',
                       'finishTimeStatic': '2024-09-19 17:03:25',
                       'gitSourceId': 1347,
                       'groupId': 1,
                       'id': 1337,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 55,
                       'mailConfigStatus': 0,
                       'menderUserId': '7b214572-4f1d-4630-ba73-12731ecfdf02',
                       'name': 'gitType1_gitlab',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType1_gitlab',
                       'projectType': 1,
                       'projectUuid': '033624cf-4e56-40d8-91b9-d03c71217bef',
                       'recordId': 'a9658906-2730-4b94-8664-e13c7f754f49',
                       'riskGrade': 3,
                       'scanVulRulesVO': {'appId': 'c4868633-7027-41be-a5a4-5624ccd7820e',
                                          'recordId': 'a9658906-2730-4b94-8664-e13c7f754f49'},
                       'sendReportFlag': False,
                       'seriousList': [{'typeId': 1,
                                        'typeName': '超危',
                                        'typeNum': 57},
                                       {'typeId': 2,
                                        'typeName': '高危',
                                        'typeNum': 14},
                                       {'typeId': 3,
                                        'typeName': '中危',
                                        'typeNum': 51},
                                       {'typeId': 4,
                                        'typeName': '低危',
                                        'typeNum': 22},
                                       {'typeId': 5,
                                        'typeName': '建议',
                                        'typeNum': 1}],
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 1,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 1,
                       'updateTime': '2024-09-19 17:02:04',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26}]},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/list 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiJhZTAwNjRmOS1hNTc1LTRkMmEtYjMyZC0wNzM0NTNmMzMyMGYifQ.bogQo6__g6jQsMVP_bgfJo9zeUXYxK2p60JZqOObixhiekUdYQE0q2Eh5RtvXYb5409idRjQOMWqgZV4jY1RcA', 'loginNonce': '9958861c-0579-4f98-b310-71de5cfb9296', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075476417', 'sign': 'e1f39242d5c6f0e6a13d0c49992bf411610c7f87509415e9f34351f9540587cd', 'lang': 'zh-CN'}
请求参数：{'projectType': '1', 'pageSize': '100'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 100, 'pageTotal': 1, 'recordTotal': 30, 'records': [{'id': 1384, 'createTime': '2024-09-19 10:34:41', 'updateTime': '2024-09-19 10:34:41', 'name': 'authenticationMethod=3不存在参数', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'c1a52b32-94c5-4d26-82c5-4fce4f5240a6', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'authenticationMethod=3不存在参数', 'appId': 'd3b0d2b2-aa76-4a96-a688-a97af5fb172e', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1380, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1383, 'createTime': '2024-09-19 10:34:40', 'updateTime': '2024-09-19 10:34:40', 'name': 'authenticationMethod=2SSH密钥', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'cf83ec69-ca0d-4bb5-a59e-309f8c9cd768', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'authenticationMethod=2SSH密钥', 'appId': 'e0936335-0c6c-4dde-aa88-606b062dec7d', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1379, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1382, 'createTime': '2024-09-19 10:34:38', 'updateTime': '2024-09-19 10:34:38', 'name': 'authenticationMethod=1token认证', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'f3acb8e3-7e75-44e7-8a6e-48d5efee0275', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'authenticationMethod=1token认证', 'appId': '5669177f-4dfd-44e4-a54c-06c17e7b987f', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1378, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1381, 'createTime': '2024-09-19 10:34:37', 'updateTime': '2024-09-19 10:34:37', 'name': 'authenticationMethod=0用户名密码认证', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '2bc261af-2b6e-497f-a868-86354544ac20', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'authenticationMethod=0用户名密码认证', 'appId': '47e97a92-2dbe-4abd-b2fc-7c2c8acd3f4f', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1377, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1380, 'createTime': '2024-09-19 10:34:35', 'updateTime': '2024-09-19 10:34:35', 'name': 'gitType4', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'f786f1aa-77cc-4603-955b-cf3ec2cc0201', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType4', 'appId': 'cc602897-d15f-4107-9f67-8ea17f5e6253', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1376, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1379, 'createTime': '2024-09-19 10:34:34', 'updateTime': '2024-09-19 10:34:34', 'name': 'gitType7_bitbucket', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'f805edb5-f1f5-4a43-822a-6e32a7352e51', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType7_bitbucket', 'appId': 'e1c143f9-9995-4c97-afdc-8143c3c826c1', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1375, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1378, 'createTime': '2024-09-19 10:34:33', 'updateTime': '2024-09-19 10:34:33', 'name': 'gitType6_gerrit', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'f2ebf8c0-a638-41a2-a946-aff57cc22825', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType6_gerrit', 'appId': 'df85fab2-b357-4032-b7ad-015f3dd7528f', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1374, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1377, 'createTime': '2024-09-19 10:34:32', 'updateTime': '2024-09-19 10:34:32', 'name': 'gitType3_gitee', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '063a6366-024b-446e-adc0-53c420c27af8', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType3_gitee', 'appId': '6a10195a-3b81-47a6-b528-30d585cd1087', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1373, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1376, 'createTime': '2024-09-19 10:34:31', 'updateTime': '2024-09-19 10:34:31', 'name': 'gitType2_github', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '67f61888-7541-492d-a3f1-01b147bc0c58', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType2_github', 'appId': '7bbac81d-10fa-4076-a253-c5b0bf71cee4', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1372, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1375, 'createTime': '2024-09-19 10:34:30', 'updateTime': '2024-09-19 10:34:30', 'name': 'urlHead非法', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'ffc5a5f3-6b43-46ca-8a2a-28f04c94d325', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'urlHead非法', 'appId': 'eb113f1b-cccf-4ae1-a15a-1fcdb1d5d2d6', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1371, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1374, 'createTime': '2024-09-19 10:34:28', 'updateTime': '2024-09-19 10:34:28', 'name': 'urlHead为空', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'd67aeb4b-0e54-4309-b243-3eb98f8bc6cd', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'urlHead为空', 'appId': '4eeeb2f2-ef9c-4325-8218-830a0ba664cf', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1370, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1373, 'createTime': '2024-09-19 10:34:27', 'updateTime': '2024-09-19 10:34:27', 'name': 'urlHead=2', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'c26cc1e9-6c3e-4697-8a1a-7d46fae05e93', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'urlHead=2', 'appId': 'b0f16f6f-427c-463e-af26-8af25293638a', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1369, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1372, 'createTime': '2024-09-19 10:34:26', 'updateTime': '2024-09-19 10:34:26', 'name': 'urlHead=1', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '7ee624f7-0bad-4d93-a508-cf1500b26bd4', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'urlHead=1', 'appId': 'c8f82e48-dff5-4a09-b03d-a7d543d40fc1', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1368, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1371, 'createTime': '2024-09-19 10:34:25', 'updateTime': '2024-09-19 10:34:25', 'name': 'urlHead=0', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '7b0c619c-0402-4fff-9715-b6c3bba4c78a', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'urlHead=0', 'appId': '12edc298-28fd-411e-84ce-22c14a8ee04a', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1367, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1370, 'createTime': '2024-09-19 10:34:24', 'updateTime': '2024-09-19 10:34:24', 'name': 'url字符超长', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'fbae891c-0ab7-4ea5-9d08-56e4ad2a7db5', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'url字符超长', 'appId': '24201c20-c8e4-40e7-ad10-d9705ccd34aa', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1366, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1369, 'createTime': '2024-09-19 10:34:23', 'updateTime': '2024-09-19 10:34:23', 'name': 'url包含空格', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '37c082f8-1643-4086-a297-a7bcf566660c', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'url包含空格', 'appId': 'ce6cf2f7-9c16-4205-b9ca-1aca0989ad2e', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1365, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1368, 'createTime': '2024-09-19 10:34:21', 'updateTime': '2024-09-19 10:34:21', 'name': 'url格式错误', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'c0e1fa90-3983-4f38-81ff-ef2b4913edd9', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'url格式错误', 'appId': '07ee04af-6838-4df1-8682-70cd4b02b060', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1364, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1367, 'createTime': '2024-09-19 10:34:20', 'updateTime': '2024-09-19 10:34:20', 'name': 'url为空', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'ceddae3c-05cb-42ab-ad87-e0b6cb2570a5', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'url为空', 'appId': '28761c56-ecbc-4c45-8ed4-50bf5fa4f668', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1363, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1366, 'createTime': '2024-09-19 10:34:19', 'updateTime': '2024-09-19 10:34:19', 'name': 'url正常', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '161eb893-ca30-4fdd-b9ed-03d5e2fb9db2', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'url正常', 'appId': 'ab9042cf-ea89-4b73-81d7-6ea313c79436', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1362, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1365, 'createTime': '2024-09-19 10:34:18', 'updateTime': '2024-09-19 10:34:18', 'name': 'projectDesc500个字符', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'b2d2dd26-9ccf-40d7-a8e7-7302f3951cf9', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'projectDesc500个字符', 'appId': '788d35bf-0128-4fa7-9c49-5ba3ec5d2a0c', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1361, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1364, 'createTime': '2024-09-19 10:34:17', 'updateTime': '2024-09-19 10:34:17', 'name': 'projectDesc两个字符', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '37feb24b-432d-4d22-81ed-bef3439bae73', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'projectDesc两个字符', 'appId': 'ff9835bf-7873-4fe2-9e8c-227d07e6d44c', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1360, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1363, 'createTime': '2024-09-19 10:34:16', 'updateTime': '2024-09-19 10:34:16', 'name': 'projectDesc包含特殊字符', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '15f48b2c-dc22-441f-aa56-80fde5ee3b18', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'projectDesc包含特殊字符', 'appId': 'ab695e12-80b2-450c-8c28-f6722f1d8ef2', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1359, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1362, 'createTime': '2024-09-19 10:34:15', 'updateTime': '2024-09-19 10:34:15', 'name': 'projectDesc只有空格', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'cbb70054-0df6-4589-82f8-1db284645496', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'projectDesc只有空格', 'appId': 'a9ba7554-4f6d-4a0e-91e4-5b5b9bf8d7a3', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1358, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1361, 'createTime': '2024-09-19 10:34:14', 'updateTime': '2024-09-19 10:34:14', 'name': 'projectDesc超长：513个字符', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '70bba8a9-5b0a-48a2-b93c-9eabb81179bb', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'projectDesc超长：513个字符', 'appId': '8337fcc0-92f3-4a79-993e-6fb772fca0f6', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1357, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1360, 'createTime': '2024-09-19 10:34:13', 'updateTime': '2024-09-19 10:34:13', 'name': 'projectDesc为空', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '102a8889-8afa-4203-956c-74ba0d3487dc', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'projectDesc为空', 'appId': 'd2ec6c27-7498-4074-83f3-979c9ea4a420', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1356, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1359, 'createTime': '2024-09-19 10:34:12', 'updateTime': '2024-09-19 10:34:12', 'name': '空格   自动   清除', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'f760ad15-1d3a-48aa-bf03-a895764d41e1', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': '空格   自动   清除', 'appId': 'a897d907-d0de-4057-ae0e-f5ce6aa27e90', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1355, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1358, 'createTime': '2024-09-19 10:34:11', 'updateTime': '2024-09-19 10:34:11', 'name': '01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789555551234512', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 0, 'statusDynamicCode': 0, 'projectUuid': '32d2dd6d-70bf-49cd-b78a-e90b2274eca4', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': '01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789555551234512', 'projectType': 1, 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1357, 'createTime': '2024-09-19 10:34:10', 'updateTime': '2024-09-19 10:34:10', 'name': '根据', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'cd5c6b38-1108-4f09-9647-dacaececd7d5', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': '根据', 'appId': '923c97df-329b-4543-a3c5-efb3670c9d5e', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1353, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1356, 'createTime': '2024-09-19 10:34:09', 'updateTime': '2024-09-19 10:34:09', 'name': '   ', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '2a87d076-878c-4c94-b049-f5e5e8b221ef', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': '   ', 'appId': '4587f3cc-67d0-49b4-9db1-407fd9955a0e', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1352, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1337, 'createTime': '2024-09-18 16:29:13', 'updateTime': '2024-09-19 17:02:04', 'name': 'gitType1_gitlab', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 1, 'statusDynamicCode': 0, 'projectUuid': '033624cf-4e56-40d8-91b9-d03c71217bef', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'menderUserId': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'extraMark': '', 'riskGrade': 3, 'finishTimeStatic': '2024-09-19 17:03:25', 'finishRecordIdStatic': 'a9658906-2730-4b94-8664-e13c7f754f49', 'lastScanRecordIdStatic': 55, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType1_gitlab', 'appId': 'c4868633-7027-41be-a5a4-5624ccd7820e', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1347, 'svnSourceId': 0, 'recordId': 'a9658906-2730-4b94-8664-e13c7f754f49', 'finishTime': '2024-09-19 17:03:25', 'languageId': 1, 'containLan': '1', 'languageName': 'Java/Jsp', 'thirdType': 1, 'exportReportFlag': True, 'sendReportFlag': False, 'scanVulRulesVO': {'appId': 'c4868633-7027-41be-a5a4-5624ccd7820e', 'recordId': 'a9658906-2730-4b94-8664-e13c7f754f49'}, 'seriousList': [{'typeName': '超危', 'typeNum': 57, 'typeId': 1}, {'typeName': '高危', 'typeNum': 14, 'typeId': 2}, {'typeName': '中危', 'typeNum': 51, 'typeId': 3}, {'typeName': '低危', 'typeNum': 22, 'typeId': 4}, {'typeName': '建议', 'typeNum': 1, 'typeId': 5}], 'mailConfigStatus': 0, 'exportBtn': True}]}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>52</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test2_createProjectByVoid_fail_notorguuid</td>
                    <td>None</td>
                    <td>0.617630</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：指定团队不能为空--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '72d1db4f1c3f3c6febdd5294b1c78257e083635640cae7a69a777e7449f024d1',
 'x-cs-timestamp': '1727075476707'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'projectName': '接口创建1727075476502'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sprojectName=接口创建1727075476502&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075476989&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '指定团队不能为空', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075476707', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '72d1db4f1c3f3c6febdd5294b1c78257e083635640cae7a69a777e7449f024d1', 'lang': 'zh-CN'}
请求参数：{'projectName': '接口创建1727075476502'}
响应：{'status': False, 'code': 'B408', 'message': '指定团队不能为空'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>53</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test3_createProjectByVoid_fail_orguuidNull</td>
                    <td>None</td>
                    <td>0.364941</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：团队UUID非法。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'a8560e4e5f117b33a868036ea53f2f0abfbb08fcbc00fee340f51936557c4f16',
 'x-cs-timestamp': '1727075477228'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'orgUuid': '', 'projectName': '接口创建123'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sprojectName=接口创建123&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075477414&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '团队UUID非法。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/createProjectByVoid 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075477228', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'a8560e4e5f117b33a868036ea53f2f0abfbb08fcbc00fee340f51936557c4f16', 'lang': 'zh-CN'}
请求参数：{'projectName': '接口创建123', 'orgUuid': ''}
响应：{'status': False, 'code': 'B408', 'message': '团队UUID非法。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>54</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_get_server_list</td>
                    <td>None</td>
                    <td>0.330501</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目UUID格式不正确。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'a3bf0e46de31fdf79256a2ad4d569cf275c8569a8120e9713980ce844f93d5cf',
 'x-cs-timestamp': '1727075477588'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%svulDataId=010bfb6a-8495-4f0c-8a01-ed1074528d03&None&None&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075477757&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '项目UUID格式不正确。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">未找到与 '漏洞详情场景化项目_扫描完成' 相关的项目扫描记录！


请求接口：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075477588', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'a3bf0e46de31fdf79256a2ad4d569cf275c8569a8120e9713980ce844f93d5cf', 'lang': 'zh-CN'}
请求参数：{'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}
响应：{'status': False, 'code': 'B408', 'message': '项目UUID格式不正确。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_externaApi_case.TestCodeSecAPI object at 0x00000299DD36CB90>, project_list = (None, None, None)

    def test_get_server_list(self, project_list):
        sz_team_pid, sz_team_aid, statusStaticCode = project_list
        base_path = f"/project/{sz_team_pid}/task/{sz_team_aid}/getListDetailByVulDataId"
        url = base_url + base_path
        parameter = {
            "vulDataId": "010bfb6a-8495-4f0c-8a01-ed1074528d03",
            # "permissionOrgUuid": "123"
        }
        response = send_request(url, "get", parameter, base_path)
>       assert response["status"] == True
E       assert False == True

case\externaApi\test_externaApi_case.py:143: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>55</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_createRuleSet</td>
                    <td>None</td>
                    <td>0.000357</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vulrule/createRuleSet
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '1077e2300accef7caec8d48c24d234043ebf0c64c95dcbaa40a92745bfddb36c',
 'x-cs-timestamp': '1727075477917'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'languageId': 1,
 'name': '接口创建1727075477838',
 'status': 1,
 'vulDataIds': '9f8d4537-b9c1-4224-a29a-11433d525217'}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%slanguageId=1&name=接口创建1727075477838&status=1&vulDataIds=9f8d4537-b9c1-4224-a29a-11433d525217&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075478295&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200', 'data': {'id': 27}, 'message': '成功。', 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vulrule/createRuleSet 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075477917', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '1077e2300accef7caec8d48c24d234043ebf0c64c95dcbaa40a92745bfddb36c', 'lang': 'zh-CN'}
请求参数：{'name': '接口创建1727075477838', 'languageId': 1, 'vulDataIds': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'id': 27}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>56</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_editRuleSet</td>
                    <td>编辑规则集信息_成功</td>
                    <td>0.526086</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vulrule/createRuleSet
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '33416ea6b81875c978343d98b82c384c987efbde6fdd1798b120dda272f85ed7',
 'x-cs-timestamp': '1727075478662'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'languageId': 1,
 'name': '接口创建1727075478415',
 'status': 1,
 'vulDataIds': '9f8d4537-b9c1-4224-a29a-11433d525217'}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%slanguageId=1&name=接口创建1727075478415&status=1&vulDataIds=9f8d4537-b9c1-4224-a29a-11433d525217&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075479089&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200', 'data': {'id': 28}, 'message': '成功。', 'status': True}
[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：修改扫描方案失败。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vulrule/editRuleSet
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '49f07a2e380c1fab4e16bb9439a820c40144443d6950c003c095b536b66481bf',
 'x-cs-timestamp': '1727075479309'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'languageId': 1,
 'status': 1,
 'vulDataIds': '9f8d4537-b9c1-4224-a29a-11433d525217',
 'vulRuleId': 28}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%slanguageId=1&status=1&vulDataIds=9f8d4537-b9c1-4224-a29a-11433d525217&vulRuleId=28&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075479596&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': '修改扫描方案失败。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vulrule/createRuleSet 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075478662', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '33416ea6b81875c978343d98b82c384c987efbde6fdd1798b120dda272f85ed7', 'lang': 'zh-CN'}
请求参数：{'name': '接口创建1727075478415', 'languageId': 1, 'vulDataIds': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'id': 28}}

请求接口：http://192.168.2.229:28081/cs/api/v2/vulrule/editRuleSet 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075479309', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '49f07a2e380c1fab4e16bb9439a820c40144443d6950c003c095b536b66481bf', 'lang': 'zh-CN'}
请求参数：{'languageId': 1, 'vulDataIds': '9f8d4537-b9c1-4224-a29a-11433d525217', 'vulRuleId': 28, 'status': 1}
响应：{'status': False, 'code': 'B500', 'message': '修改扫描方案失败。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_externaApi_case.TestCodeSecAPI object at 0x00000299DD36E330>, rule_id_fixture = (28, {'code': 'B200', 'data': {'id': 28}, 'message': '成功。', 'status': True})

    def test_editRuleSet(self, rule_id_fixture):
        """编辑规则集信息_成功"""
        base_path = f"/vulrule/editRuleSet"
        url = base_url + base_path
        parameter = {
            "languageId": 1,
            "vulDataIds": "9f8d4537-b9c1-4224-a29a-11433d525217",
            "vulRuleId": rule_id_fixture[0],
            "status": 1,
        }
        response = send_request(url, "put", parameter, base_path)
>       assert response["status"] == True
E       assert False == True

case\externaApi\test_externaApi_case.py:162: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>57</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_rulelist</td>
                    <td>None</td>
                    <td>0.390815</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vulrule/rulelist
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'c01835501a18185546754cb91c5509fe1a9610ceba2d53515731a2e66e414c92',
 'x-cs-timestamp': '1727075479832'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'isThird': 1, 'languageId': 1, 'name': '接口', 'pageCurrent': 1, 'pageSize': 10}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%sisThird=1&languageId=1&name=接口&pageCurrent=1&pageSize=10&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075480025&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'list': [{'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-23 15:11:18',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 27,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1727075477838',
                    'status': 1,
                    'updateTime': '2024-09-23 15:11:18',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'},
                   {'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-23 15:11:18',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 28,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1727075478415',
                    'status': 1,
                    'updateTime': '2024-09-23 15:11:18',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'},
                   {'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-19 10:34:49',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 25,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1726713289125',
                    'status': 1,
                    'updateTime': '2024-09-19 10:34:49',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'},
                   {'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-19 10:34:48',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 24,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1726713288388',
                    'status': 1,
                    'updateTime': '2024-09-19 10:34:48',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'},
                   {'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-18 17:22:14',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 22,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1726651334427',
                    'status': 1,
                    'updateTime': '2024-09-18 17:22:14',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'},
                   {'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-18 17:22:13',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 21,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1726651333373',
                    'status': 1,
                    'updateTime': '2024-09-18 17:22:13',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'},
                   {'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-18 17:17:52',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 19,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1726651071802',
                    'status': 1,
                    'updateTime': '2024-09-18 17:17:52',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'},
                   {'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-18 17:17:51',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 18,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1726651071239',
                    'status': 1,
                    'updateTime': '2024-09-18 17:17:51',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'},
                   {'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-18 17:15:13',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 16,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1726650912820',
                    'status': 1,
                    'updateTime': '2024-09-18 17:15:13',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'},
                   {'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                    'createTime': '2024-09-18 17:15:12',
                    'email': 'sec@seczone.cn',
                    'groupId': 1,
                    'id': 15,
                    'isDefault': 0,
                    'isThird': 0,
                    'languageId': 1,
                    'languageIds': '1',
                    'languageNames': 'Java/Jsp',
                    'presetName': '接口创建1726650912002',
                    'status': 1,
                    'updateTime': '2024-09-18 17:15:12',
                    'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217'}],
          'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 2,
          'total': 16},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vulrule/rulelist 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075479832', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'c01835501a18185546754cb91c5509fe1a9610ceba2d53515731a2e66e414c92', 'lang': 'zh-CN'}
请求参数：{'languageId': 1, 'name': '接口', 'isThird': 1, 'pageSize': 10, 'pageCurrent': 1}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 2, 'total': 16, 'list': [{'createTime': '2024-09-23 15:11:18', 'updateTime': '2024-09-23 15:11:18', 'presetName': '接口创建1727075477838', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 27}, {'createTime': '2024-09-23 15:11:18', 'updateTime': '2024-09-23 15:11:18', 'presetName': '接口创建1727075478415', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 28}, {'createTime': '2024-09-19 10:34:49', 'updateTime': '2024-09-19 10:34:49', 'presetName': '接口创建1726713289125', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 25}, {'createTime': '2024-09-19 10:34:48', 'updateTime': '2024-09-19 10:34:48', 'presetName': '接口创建1726713288388', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 24}, {'createTime': '2024-09-18 17:22:14', 'updateTime': '2024-09-18 17:22:14', 'presetName': '接口创建1726651334427', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 22}, {'createTime': '2024-09-18 17:22:13', 'updateTime': '2024-09-18 17:22:13', 'presetName': '接口创建1726651333373', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 21}, {'createTime': '2024-09-18 17:17:52', 'updateTime': '2024-09-18 17:17:52', 'presetName': '接口创建1726651071802', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 19}, {'createTime': '2024-09-18 17:17:51', 'updateTime': '2024-09-18 17:17:51', 'presetName': '接口创建1726651071239', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 18}, {'createTime': '2024-09-18 17:15:13', 'updateTime': '2024-09-18 17:15:13', 'presetName': '接口创建1726650912820', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 16}, {'createTime': '2024-09-18 17:15:12', 'updateTime': '2024-09-18 17:15:12', 'presetName': '接口创建1726650912002', 'groupId': 1, 'vulId': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1, 'languageId': 1, 'createBy': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'email': 'sec@seczone.cn', 'isDefault': 0, 'languageIds': '1', 'isThird': 0, 'languageNames': 'Java/Jsp', 'id': 15}]}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>58</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_deleteRuleSet</td>
                    <td>None</td>
                    <td>0.583695</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vulrule/createRuleSet
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'b8b1e6d73142f68a110f77ca5b17385c715d0d003a4340a5c7eacda50673120e',
 'x-cs-timestamp': '1727075480184'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'languageId': 1,
 'name': '接口创建1727075480092',
 'status': 1,
 'vulDataIds': '9f8d4537-b9c1-4224-a29a-11433d525217'}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%slanguageId=1&name=接口创建1727075480092&status=1&vulDataIds=9f8d4537-b9c1-4224-a29a-11433d525217&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075480517&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200', 'data': {'id': 29}, 'message': '成功。', 'status': True}
[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vulrule/deleteRuleSet
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'da85c3e6894cadee2a95e96b773b3400209203ed0e54680e33153c0c5efd5e35',
 'x-cs-timestamp': '1727075480741'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'vulRuleId': 29}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%svulRuleId=29&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075481118&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200', 'message': '删除扫描方案成功', 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vulrule/createRuleSet 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075480184', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'b8b1e6d73142f68a110f77ca5b17385c715d0d003a4340a5c7eacda50673120e', 'lang': 'zh-CN'}
请求参数：{'name': '接口创建1727075480092', 'languageId': 1, 'vulDataIds': '9f8d4537-b9c1-4224-a29a-11433d525217', 'status': 1}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'id': 29}}

请求接口：http://192.168.2.229:28081/cs/api/v2/vulrule/deleteRuleSet 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075480741', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'da85c3e6894cadee2a95e96b773b3400209203ed0e54680e33153c0c5efd5e35', 'lang': 'zh-CN'}
请求参数：{'vulRuleId': 29}
响应：{'status': True, 'code': 'B200', 'message': '删除扫描方案成功'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>59</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test2_deleteRuleSet</td>
                    <td>None</td>
                    <td>0.390938</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：删除扫描方案失败。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vulrule/deleteRuleSet
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'ff2e85934712ab864d321aedba6950187f681235c3236fb3d399bbc2391c4eea',
 'x-cs-timestamp': '1727075481306'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'vulRuleId': 1}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%svulRuleId=1&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075481502&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': '删除扫描方案失败。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vulrule/deleteRuleSet 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075481306', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'ff2e85934712ab864d321aedba6950187f681235c3236fb3d399bbc2391c4eea', 'lang': 'zh-CN'}
请求参数：{'vulRuleId': 1}
响应：{'status': False, 'code': 'B500', 'message': '删除扫描方案失败。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>60</td>
                    <td class="caseexternaApitest_externaApi_casepy">case\externaApi\test_externaApi_case.py</td>
                    <td>TestCodeSecAPI.test_getVoucherList</td>
                    <td>None</td>
                    <td>0.349570</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '03bd7c98a5f3d4b054f068b20657314163ecc2972689da9423837fbd46dc4842',
 'x-cs-timestamp': '1727075481669'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'pageSize': 100}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%spageSize=100&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075481830&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'list': [],
          'pageCurrent': 1,
          'pageSize': 100,
          'pageTotal': 0,
          'total': 0},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075481669', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '03bd7c98a5f3d4b054f068b20657314163ecc2972689da9423837fbd46dc4842', 'lang': 'zh-CN'}
请求参数：{'pageSize': 100}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 100, 'pageTotal': 0, 'total': 0, 'list': []}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>61</td>
                    <td class="caseexternaApitest_getListDetailByVulDataIdpy">case\externaApi\test_getListDetailByVulDataId.py</td>
                    <td>TestCodeSecAPI.test_getListDetailByVulDataId_static_vul</td>
                    <td>4.3.3分页查询漏洞列表（漏洞列表页面右侧表格）_成功 - 不传type,默认为：静态漏洞</td>
                    <td>0.383487</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目UUID格式不正确。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '9abb6a938af2f833915a312ea2ea0d29ebabb746ab08f38265345c720f47b02b',
 'x-cs-timestamp': '1727075482027'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'pageSize': '1', 'vulDataId': '0ea0bcbd-d58a-496a-adf3-23ba8e0849d7'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%spageSize=1&vulDataId=0ea0bcbd-d58a-496a-adf3-23ba8e0849d7&None&None&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075482209&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '项目UUID格式不正确。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075482027', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '9abb6a938af2f833915a312ea2ea0d29ebabb746ab08f38265345c720f47b02b', 'lang': 'zh-CN'}
请求参数：{'vulDataId': '0ea0bcbd-d58a-496a-adf3-23ba8e0849d7', 'pageSize': '1'}
响应：{'status': False, 'code': 'B408', 'message': '项目UUID格式不正确。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_getListDetailByVulDataId.TestCodeSecAPI object at 0x00000299DD36F320>

    def test_getListDetailByVulDataId_static_vul(self):
        """4.3.3分页查询漏洞列表（漏洞列表页面右侧表格）_成功 - 不传type,默认为：静态漏洞"""
        parameter = {
            "vulDataId": "0ea0bcbd-d58a-496a-adf3-23ba8e0849d7",
            "pageSize": "1"
        }
        response = getListDetailByVulDataId(parameter)
>       assert 'B200' == response['code']
E       AssertionError: assert 'B200' == 'B408'
E         - B408
E         + B200

case\externaApi\test_getListDetailByVulDataId.py:74: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>62</td>
                    <td class="caseexternaApitest_getListDetailByVulDataIdpy">case\externaApi\test_getListDetailByVulDataId.py</td>
                    <td>TestCodeSecAPI.test2_getListDetailByVulDataId_static_vul</td>
                    <td>4.3.3分页查询漏洞列表（漏洞列表页面右侧表格）_成功 - type传0（静态漏洞）</td>
                    <td>0.477662</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目UUID格式不正确。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'd400f75d9fc2bdfcb741714f0e2918e44270f312161d906fce29e393c0f957b6',
 'x-cs-timestamp': '1727075482446'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'pageSize': '1',
 'type': '0',
 'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%spageSize=1&type=0&vulDataId=010bfb6a-8495-4f0c-8a01-ed1074528d03&None&None&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075482705&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '项目UUID格式不正确。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075482446', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'd400f75d9fc2bdfcb741714f0e2918e44270f312161d906fce29e393c0f957b6', 'lang': 'zh-CN'}
请求参数：{'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03', 'pageSize': '1', 'type': '0'}
响应：{'status': False, 'code': 'B408', 'message': '项目UUID格式不正确。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_getListDetailByVulDataId.TestCodeSecAPI object at 0x00000299DD36F0B0>

    def test2_getListDetailByVulDataId_static_vul(self):
        """4.3.3分页查询漏洞列表（漏洞列表页面右侧表格）_成功 - type传0（静态漏洞）"""
        parameter = {
            "vulDataId": "010bfb6a-8495-4f0c-8a01-ed1074528d03",
            "pageSize": "1",
            "type": "0"
        }
        response = getListDetailByVulDataId(parameter)
>       assert 'B200' == response['code']
E       AssertionError: assert 'B200' == 'B408'
E         - B408
E         + B200

case\externaApi\test_getListDetailByVulDataId.py:85: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>63</td>
                    <td class="caseexternaApitest_getListDetailByVulDataIdpy">case\externaApi\test_getListDetailByVulDataId.py</td>
                    <td>TestCodeSecAPI.test3_getListDetailByVulDataId_static_vul_teamlogin</td>
                    <td>4.3.3	分页查询漏洞列表（漏洞列表页面右侧表格）_成功 - 团管请求，不传type,默认为：静态漏洞</td>
                    <td>0.507403</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目UUID格式不正确。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': '7b214572-4f1d-4630-ba73-12731ecfdf02',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'd36f7e705423e5bd34464fc6b8f078b00568f59935c9f463c0822a83922c05c5',
 'x-cs-timestamp': '1727075482937'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'pageSize': '1', 'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%spageSize=1&vulDataId=010bfb6a-8495-4f0c-8a01-ed1074528d03&None&None&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075483204&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '项目UUID格式不正确。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId 
请求头：{'accessKey': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'x-cs-timestamp': '1727075482937', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'd36f7e705423e5bd34464fc6b8f078b00568f59935c9f463c0822a83922c05c5', 'lang': 'zh-CN'}
请求参数：{'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03', 'pageSize': '1'}
响应：{'status': False, 'code': 'B408', 'message': '项目UUID格式不正确。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_getListDetailByVulDataId.TestCodeSecAPI object at 0x00000299DD36F9E0>

    def test3_getListDetailByVulDataId_static_vul_teamlogin(self):
        """4.3.3	分页查询漏洞列表（漏洞列表页面右侧表格）_成功 - 团管请求，不传type,默认为：静态漏洞"""
        parameter = {
            "vulDataId": "010bfb6a-8495-4f0c-8a01-ed1074528d03",
            "pageSize": "1"
        }
        response = getListDetailByVulDataId(parameter, user_email=email_team)  # 使用团管userId
>       assert 'B200' == response['code']
E       AssertionError: assert 'B200' == 'B408'
E         - B408
E         + B200

case\externaApi\test_getListDetailByVulDataId.py:94: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>64</td>
                    <td class="caseexternaApitest_getListDetailByVulDataIdpy">case\externaApi\test_getListDetailByVulDataId.py</td>
                    <td>TestCodeSecAPI.test_getListDetailByVulDataId_codingRule_vul</td>
                    <td>4.3.3	分页查询漏洞列表（漏洞列表页面右侧表格） - 成功：type传1（编码规范）</td>
                    <td>0.482208</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：项目UUID格式不正确。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'af9e33aabff7309ab418b76cbc6f9c0c510a0097082a92ed6b2760e91ee5a706',
 'x-cs-timestamp': '1727075483459'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'type': '1', 'vulDataId': '92'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%stype=1&vulDataId=92&None&None&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075483726&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '项目UUID格式不正确。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075483459', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'af9e33aabff7309ab418b76cbc6f9c0c510a0097082a92ed6b2760e91ee5a706', 'lang': 'zh-CN'}
请求参数：{'vulDataId': '92', 'type': '1'}
响应：{'status': False, 'code': 'B408', 'message': '项目UUID格式不正确。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_getListDetailByVulDataId.TestCodeSecAPI object at 0x00000299DD36FD40>

    def test_getListDetailByVulDataId_codingRule_vul(self):
        """4.3.3	分页查询漏洞列表（漏洞列表页面右侧表格） - 成功：type传1（编码规范）"""
        parameter = {
            "vulDataId": "92",
            "type": "1",
        }
        response = getListDetailByVulDataId(parameter)
>       assert 'B200' == response['code']
E       AssertionError: assert 'B200' == 'B408'
E         - B408
E         + B200

case\externaApi\test_getListDetailByVulDataId.py:104: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>65</td>
                    <td class="caseexternaApitest_getListDetailByVulDataIdpy">case\externaApi\test_getListDetailByVulDataId.py</td>
                    <td>TestCodeSecAPI.test_getListDetailByVulDataId_fail1</td>
                    <td>4.3.3	分页查询漏洞列表（漏洞列表页面右侧表格） - 失败：不传参</td>
                    <td>0.422075</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：漏洞库Id不能为空。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '4fec66b7af9acdd30a2c6e85dbbd586f2b7db7b5219b95d60b3d037b8fdaa72d',
 'x-cs-timestamp': '1727075483911'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sNone&None&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075484121&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': '漏洞库Id不能为空。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/None/task/None/getListDetailByVulDataId 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075483911', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '4fec66b7af9acdd30a2c6e85dbbd586f2b7db7b5219b95d60b3d037b8fdaa72d', 'lang': 'zh-CN'}
请求参数：{}
响应：{'status': False, 'code': 'B500', 'message': '漏洞库Id不能为空。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>66</td>
                    <td class="caseexternaApitest_getOrgListpy">case\externaApi\test_getOrgList.py</td>
                    <td>TestCodeSecAPI.test1_getOrgList</td>
                    <td>4.7.4查询当前用户团队列表 - 成功</td>
                    <td>0.599446</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：越权操作。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/user/getOrgList
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'f0393e4d2ab1334047e7135c9ab337d29759f6f9c3d0a344b1975942817557ec',
 'x-cs-timestamp': '1727075484483'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%s&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075484752&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B462', 'message': '越权操作。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/user/getOrgList 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075484483', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'f0393e4d2ab1334047e7135c9ab337d29759f6f9c3d0a344b1975942817557ec', 'lang': 'zh-CN'}
请求参数：{}
响应：{'status': False, 'code': 'B462', 'message': '越权操作。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.externaApi.test_getOrgList.TestCodeSecAPI object at 0x00000299DD36F8C0>

    def test1_getOrgList(self):
        """4.7.4查询当前用户团队列表 - 成功"""
        version = "v3"
        base_path = f"/user/getOrgList"
        url = base_url + base_path
        parameter = {
    
        }
        response = send_request(url, "get", parameter, base_path)
>       assert response["status"] == True
E       assert False == True

case\externaApi\test_getOrgList.py:17: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>67</td>
                    <td class="caseexternaApitest_getVoucherListpy">case\externaApi\test_getVoucherList.py</td>
                    <td>TestCodeSecAPI.test_getVoucherList_with_no_name</td>
                    <td>4.6.3.2 查询凭证信息 - 成功，无name参数</td>
                    <td>0.485728</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'fa8351dc4708c9b45b44f15b6da49191ba065460886c3f6a45e5667811cef72a',
 'x-cs-timestamp': '1727075484971'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'pageSize': 10}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%spageSize=10&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075485228&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'list': [],
          'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 0,
          'total': 0},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075484971', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'fa8351dc4708c9b45b44f15b6da49191ba065460886c3f6a45e5667811cef72a', 'lang': 'zh-CN'}
请求参数：{'pageSize': 10}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 0, 'total': 0, 'list': []}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>68</td>
                    <td class="caseexternaApitest_getVoucherListpy">case\externaApi\test_getVoucherList.py</td>
                    <td>TestCodeSecAPI.test_getVoucherList_with_valid_name</td>
                    <td>4.6.3.3 查询凭证信息 - 成功，有效name参数</td>
                    <td>0.523506</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'c9cdcd9c80b9c8157aba46a9ecdc4b0b6ce814ed8d63fc73007bdf584b5f4e8b',
 'x-cs-timestamp': '1727075485472'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'name': 'SomeValidName', 'pageSize': 10}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%sname=SomeValidName&pageSize=10&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075485736&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'list': [],
          'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 0,
          'total': 0},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075485472', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'c9cdcd9c80b9c8157aba46a9ecdc4b0b6ce814ed8d63fc73007bdf584b5f4e8b', 'lang': 'zh-CN'}
请求参数：{'pageSize': 10, 'name': 'SomeValidName'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 0, 'total': 0, 'list': []}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>69</td>
                    <td class="caseexternaApitest_getVoucherListpy">case\externaApi\test_getVoucherList.py</td>
                    <td>TestCodeSecAPI.test_getVoucherList_with_large_page_size</td>
                    <td>4.6.3.4 查询凭证信息 - 成功，大分页</td>
                    <td>0.501947</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '92c272737c734c019193ec60e2022cfc6c2142548256f64596cf3d2865b1d1c1',
 'x-cs-timestamp': '1727075485973'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'name': '', 'pageSize': 1000}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%spageSize=1000&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075486212&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'list': [],
          'pageCurrent': 1,
          'pageSize': 1000,
          'pageTotal': 0,
          'total': 0},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075485973', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '92c272737c734c019193ec60e2022cfc6c2142548256f64596cf3d2865b1d1c1', 'lang': 'zh-CN'}
请求参数：{'pageSize': 1000, 'name': ''}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 1000, 'pageTotal': 0, 'total': 0, 'list': []}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>70</td>
                    <td class="caseexternaApitest_getVoucherListpy">case\externaApi\test_getVoucherList.py</td>
                    <td>TestCodeSecAPI.test_getVoucherList_with_invalid_page_size</td>
                    <td>4.6.3.5 查询凭证信息 - 失败，pageSize为负数</td>
                    <td>0.471637</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：页大小不能小于1--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'b42b78d2ae079ec3479ae980ac67629ae2294ee0f17b7ca1672d46dde8948fc0',
 'x-cs-timestamp': '1727075486516'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'name': 'test_voucher', 'pageSize': -10}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%sname=test_voucher&pageSize=-10&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075486751&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': '页大小不能小于1', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/project/getVoucherList 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075486516', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'b42b78d2ae079ec3479ae980ac67629ae2294ee0f17b7ca1672d46dde8948fc0', 'lang': 'zh-CN'}
请求参数：{'pageSize': -10, 'name': 'test_voucher'}
响应：{'status': False, 'code': 'B500', 'message': '页大小不能小于1'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>71</td>
                    <td class="caseexternaApitest_getVulDatapy">case\externaApi\test_getVulData.py</td>
                    <td>TestCodeSecAPI.test_getVulData_pass</td>
                    <td>4.5.1.3	根据漏洞ID查询漏洞信息 - 成功，传正确vulDataId</td>
                    <td>1.576737</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vul/getVulData
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '894b6f49d8baa8a3e1c80d27ec0c05571c368cf9e95286a25bca7c65b28663f5',
 'x-cs-timestamp': '1727075486985'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%svulDataId=010bfb6a-8495-4f0c-8a01-ed1074528d03&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075488313&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'cnDesc': '**概述：**\n'
                    '\n'
                    '\n'
                    '\n'
                    '揭示系统数据或调试信息有助于攻击者了解系统并制定攻击计划。当系统数据或调试信息通过输出流或者日志功能流出程序时，就会发生信息泄漏。\n'
                    '\n'
                    '**示例 ：**\n'
                    '\n'
                    '\n'
                    '\n'
                    '- **例1：**\n'
                    '\n'
                    '以下代码会将异常打印到标准错误流：\n'
                    '\n'
                    '```java\n'
                    'try {\n'
                    '    ...\n'
                    '} catch (Exception e) {\n'
                    '    e.printStackTrace();\n'
                    '}\n'
                    '```\n'
                    '依据这一系统配置，该信息可转储到控制台，写成日志文件，或者显示给远程用户。例如，凭借脚本机制，可以轻松将输出信息从"标准错误"或"标准输出"重定向至文件或其他程序。或者，运行程序的系统可能具有将日志发送至远程设备的远程日志记录系统，例如 '
                    '"syslog" 服务器。在开发过程中，您将无法知道此信息最终可能显示的位置。\n'
                    '\n'
                    '在某些情况下，该错误消息恰好可以告诉攻击者入侵这一系统的可能性究竟有多大。例如，一个数据库错误消息可以揭示应用程序容易受到 '
                    'SQL Injection '
                    '攻击。其他的错误消息可以揭示有关该系统的更多间接线索。在上述例子中，泄露的信息可能会暗示操作系统的类型、系统上安装了哪些应用程序，以及管理员在配置应用程序时做了哪些方面的努力。\n'
                    '\n'
                    '- **例2：**\n'
                    '\n'
                    '这是另一种情况，特定于移动世界。大多数移动设备现在执行的是“近场通信”(NFC) '
                    '协议，以便使用无线电通信在设备之间快速共享信息。它在设备极为贴近或互相接触时有效。即使 NFC '
                    '的通信范围仅局限于几厘米，也可能发生窃听、修改数据以及各种其他类型的攻击情况，因为 NFC '
                    '本身并不能确保通信安全。\n'
                    '\n'
                    'Android 平台提供对 NFC 的支持。以下代码将创建一条消息，该消息会被发送给所在范围内的其他设备。\n'
                    '\n'
                    '```java\n'
                    'public NdefMessage createNdefMessage(NfcEvent event) {\n'
                    '    TelephonyManager tm = '
                    '(TelephonyManager)Context.getSystemService(Context.TELEPHONY_SERVICE);\n'
                    '    String VERSION = tm.getDeviceSoftwareVersion();\n'
                    '    String text = TAG + DATA_SPLITTER + VERSION;\n'
                    '    NdefRecord record = new '
                    'NdefRecord(NdefRecord.TNF_MIME_MEDIA, '
                    'MIME_TYPE.getBytes(), new byte[0], text.getBytes());\n'
                    '    NdefRecord[] records = { record };\n'
                    '    NdefMessage msg = new NdefMessage(records);\n'
                    '    return msg;\n'
                    '}\n'
                    '```\n'
                    'NFC 数据交换格式 (NDEF) 消息包含类型化数据、URI '
                    '或自定义应用程序负载。如果该消息包含与应用程序有关的信息（如其名称、MIME '
                    '类型或设备软件版本），则该信息将被泄露给窃听者。在上述示例中，CodeSec Static Code '
                    'Analyzer（CodeSec 静态代码分析器）会在返回语句中报告 System Information '
                    'Leak 漏洞。',
          'cnName': '系统信息泄露',
          'cnRecommend': '在编写错误消息时，始终要牢记安全性。在编码的过程中，尽量避免使用繁复的消息，提倡使用简短的错误消息。限制生成与存储繁复的输出数据将有助于管理员和程序员诊断问题的所在。此外，还要留意有关调试的跟踪信息，有时它可能出现在不明显的位置（例如嵌入在错误页 '
                         'HTML 代码的注释行中）。\n'
                         '\n'
                         '即便是并未揭示栈踪迹或数据库转储的简短错误消息，也有可能帮助攻击者发起攻击。例如，“Access '
                         'Denied”（拒绝访问）消息可以揭示系统中存在一个文件或用户。\n'
                         '\n'
                         '如果您担心 Android 设备上的系统数据会通过 NFC '
                         '泄露，那么您可以采取以下三种措施之一：不把系统数据包括在发送到范围内其他设备的消息中；或加密消息负载；或在更高层中建立安全通信通道。',
          'enDesc': '**Overview:**\n'
                    '\n'
                    'Revealing system data or debugging information can aid '
                    'attackers in understanding the system and formulating an '
                    'attack plan. Information leakage occurs when system data '
                    'or debugging information is output through streams or '
                    'logging functions.\n'
                    '\n'
                    '**Example:**\n'
                    '\n'
                    '- **Example 1:**\n'
                    '\n'
                    'The following code prints exceptions to the standard '
                    'error stream:\n'
                    '\n'
                    '```java\n'
                    'try {\n'
                    '    ...\n'
                    '} catch (Exception e) {\n'
                    '    e.printStackTrace();\n'
                    '}\n'
                    '```\n'
                    'Depending on the system configuration, this information '
                    'can be dumped to the console, written to a log file, or '
                    'displayed to remote users. For example, with scripting '
                    'mechanisms, it\'s easy to redirect output from "standard '
                    'error" or "standard output" to files or other programs. '
                    'Or, the system running the program may have a remote '
                    'logging system that sends logs to remote devices, such as '
                    'a "syslog" server. During development, you won\'t know '
                    'where this information might end up being displayed.\n'
                    '\n'
                    'In some cases, the error message can tell an attacker '
                    'just how likely it is to break into the system. For '
                    'example, a database error message can reveal that an '
                    'application is vulnerable to SQL Injection attacks. Other '
                    'error messages can reveal more indirect clues about the '
                    'system. In the above example, the leaked information '
                    'might hint at the type of operating system, what '
                    'applications are installed on the system, and what '
                    'efforts the administrator has made in configuring the '
                    'applications.\n'
                    '\n'
                    '- **Example 2:**\n'
                    '\n'
                    'This is another scenario specific to the mobile world. '
                    'Most mobile devices now execute the Near Field '
                    'Communication (NFC) protocol to quickly share information '
                    'between devices using radio communication. It works '
                    'effectively when devices are very close or in contact '
                    'with each other. Even though the communication range of '
                    'NFC is limited to a few centimeters, it can still be '
                    'subject to eavesdropping, data modification, and various '
                    'other types of attacks because NFC itself does not ensure '
                    'communication security.\n'
                    '\n'
                    'The Android platform provides support for NFC. The '
                    'following code creates a message that will be sent to '
                    'other devices within range.\n'
                    '\n'
                    '```java\n'
                    'public NdefMessage createNdefMessage(NfcEvent event) {\n'
                    '    TelephonyManager tm = '
                    '(TelephonyManager)Context.getSystemService(Context.TELEPHONY_SERVICE);\n'
                    '    String VERSION = tm.getDeviceSoftwareVersion();\n'
                    '    String text = TAG + DATA_SPLITTER + VERSION;\n'
                    '    NdefRecord record = new '
                    'NdefRecord(NdefRecord.TNF_MIME_MEDIA, '
                    'MIME_TYPE.getBytes(), new byte[0], text.getBytes());\n'
                    '    NdefRecord[] records = { record };\n'
                    '    NdefMessage msg = new NdefMessage(records);\n'
                    '    return msg;\n'
                    '}\n'
                    '```\n'
                    'NFC Data Exchange Format (NDEF) messages contain typed '
                    'data, URIs, or custom application payloads. If the '
                    'message contains information related to the application '
                    '(such as its name, MIME type, or device software '
                    'version), this information will be leaked to '
                    'eavesdroppers. In the above example, the CodeSec Static '
                    'Code Analyzer (CodeSec Static Code Analyzer) reports a '
                    'System Information Leak vulnerability in the return '
                    'statement.',
          'enName': 'System Information Leak',
          'enRecommend': 'When writing error messages, always keep security in '
                         'mind. During the coding process, try to avoid using '
                         'complex messages and promote the use of short error '
                         'messages. Restricting the generation and storage of '
                         'complex output data will help administrators and '
                         'programmers diagnose the problem. In addition, pay '
                         'attention to debugging trace information, which may '
                         'appear in obscure locations (such as comments lines '
                         'embedded in error page HTML code).\n'
                         '\n'
                         'Even a short error message that does not reveal '
                         'stack traces or database dumps can potentially help '
                         'attackers launch attacks. For example, an "Access '
                         'Denied" message can reveal the existence of a file '
                         'or user in the system.\n'
                         '\n'
                         'If you are concerned about system data on Android '
                         'devices being leaked through NFC, you can take one '
                         'of the following three measures: do not include '
                         'system data in messages sent to other devices within '
                         'range; encrypt the message payload; or establish a '
                         'secure communication channel at a higher level.',
          'enable': 1,
          'isEdit': 1,
          'languageId': 1,
          'languageName': 'Java/Jsp',
          'riskId': 3,
          'securityStandards': 'OWASP Top 10 2021-A02:2021-加密失败,OWASP Top 10 '
                               '2013-A6-敏感信息泄漏,GB/T 38674-2020 Java信息安全技术 '
                               '应用软件安全编程指南-数据保护,GB/T 34944-2017 '
                               'Java语言源代码缺陷测试规范-数据处理,Cert '
                               'Java-输入输出,QGDW10929.5-2018-代码封装,CodeSec '
                               '规则分类-日志',
          'subVulCatId': 56,
          'toolUuid': '74bd1bd9-9072-49ad-8547-491a0b7e9904',
          'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03',
          'vulName': 'System Information Leak'},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vul/getVulData 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075486985', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '894b6f49d8baa8a3e1c80d27ec0c05571c368cf9e95286a25bca7c65b28663f5', 'lang': 'zh-CN'}
请求参数：{'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03', 'cnName': '系统信息泄露', 'enName': 'System Information Leak', 'vulName': 'System Information Leak', 'toolUuid': '74bd1bd9-9072-49ad-8547-491a0b7e9904', 'languageId': 1, 'languageName': 'Java/Jsp', 'subVulCatId': 56, 'riskId': 3, 'enable': 1, 'cnDesc': '**概述：**\n\n\n\n揭示系统数据或调试信息有助于攻击者了解系统并制定攻击计划。当系统数据或调试信息通过输出流或者日志功能流出程序时，就会发生信息泄漏。\n\n**示例 ：**\n\n\n\n- **例1：**\n\n以下代码会将异常打印到标准错误流：\n\n```java\ntry {\n    ...\n} catch (Exception e) {\n    e.printStackTrace();\n}\n```\n依据这一系统配置，该信息可转储到控制台，写成日志文件，或者显示给远程用户。例如，凭借脚本机制，可以轻松将输出信息从"标准错误"或"标准输出"重定向至文件或其他程序。或者，运行程序的系统可能具有将日志发送至远程设备的远程日志记录系统，例如 "syslog" 服务器。在开发过程中，您将无法知道此信息最终可能显示的位置。\n\n在某些情况下，该错误消息恰好可以告诉攻击者入侵这一系统的可能性究竟有多大。例如，一个数据库错误消息可以揭示应用程序容易受到 SQL Injection 攻击。其他的错误消息可以揭示有关该系统的更多间接线索。在上述例子中，泄露的信息可能会暗示操作系统的类型、系统上安装了哪些应用程序，以及管理员在配置应用程序时做了哪些方面的努力。\n\n- **例2：**\n\n这是另一种情况，特定于移动世界。大多数移动设备现在执行的是“近场通信”(NFC) 协议，以便使用无线电通信在设备之间快速共享信息。它在设备极为贴近或互相接触时有效。即使 NFC 的通信范围仅局限于几厘米，也可能发生窃听、修改数据以及各种其他类型的攻击情况，因为 NFC 本身并不能确保通信安全。\n\nAndroid 平台提供对 NFC 的支持。以下代码将创建一条消息，该消息会被发送给所在范围内的其他设备。\n\n```java\npublic NdefMessage createNdefMessage(NfcEvent event) {\n    TelephonyManager tm = (TelephonyManager)Context.getSystemService(Context.TELEPHONY_SERVICE);\n    String VERSION = tm.getDeviceSoftwareVersion();\n    String text = TAG + DATA_SPLITTER + VERSION;\n    NdefRecord record = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, MIME_TYPE.getBytes(), new byte[0], text.getBytes());\n    NdefRecord[] records = { record };\n    NdefMessage msg = new NdefMessage(records);\n    return msg;\n}\n```\nNFC 数据交换格式 (NDEF) 消息包含类型化数据、URI 或自定义应用程序负载。如果该消息包含与应用程序有关的信息（如其名称、MIME 类型或设备软件版本），则该信息将被泄露给窃听者。在上述示例中，CodeSec Static Code Analyzer（CodeSec 静态代码分析器）会在返回语句中报告 System Information Leak 漏洞。', 'enDesc': '**Overview:**\n\nRevealing system data or debugging information can aid attackers in understanding the system and formulating an attack plan. Information leakage occurs when system data or debugging information is output through streams or logging functions.\n\n**Example:**\n\n- **Example 1:**\n\nThe following code prints exceptions to the standard error stream:\n\n```java\ntry {\n    ...\n} catch (Exception e) {\n    e.printStackTrace();\n}\n```\nDepending on the system configuration, this information can be dumped to the console, written to a log file, or displayed to remote users. For example, with scripting mechanisms, it\'s easy to redirect output from "standard error" or "standard output" to files or other programs. Or, the system running the program may have a remote logging system that sends logs to remote devices, such as a "syslog" server. During development, you won\'t know where this information might end up being displayed.\n\nIn some cases, the error message can tell an attacker just how likely it is to break into the system. For example, a database error message can reveal that an application is vulnerable to SQL Injection attacks. Other error messages can reveal more indirect clues about the system. In the above example, the leaked information might hint at the type of operating system, what applications are installed on the system, and what efforts the administrator has made in configuring the applications.\n\n- **Example 2:**\n\nThis is another scenario specific to the mobile world. Most mobile devices now execute the Near Field Communication (NFC) protocol to quickly share information between devices using radio communication. It works effectively when devices are very close or in contact with each other. Even though the communication range of NFC is limited to a few centimeters, it can still be subject to eavesdropping, data modification, and various other types of attacks because NFC itself does not ensure communication security.\n\nThe Android platform provides support for NFC. The following code creates a message that will be sent to other devices within range.\n\n```java\npublic NdefMessage createNdefMessage(NfcEvent event) {\n    TelephonyManager tm = (TelephonyManager)Context.getSystemService(Context.TELEPHONY_SERVICE);\n    String VERSION = tm.getDeviceSoftwareVersion();\n    String text = TAG + DATA_SPLITTER + VERSION;\n    NdefRecord record = new NdefRecord(NdefRecord.TNF_MIME_MEDIA, MIME_TYPE.getBytes(), new byte[0], text.getBytes());\n    NdefRecord[] records = { record };\n    NdefMessage msg = new NdefMessage(records);\n    return msg;\n}\n```\nNFC Data Exchange Format (NDEF) messages contain typed data, URIs, or custom application payloads. If the message contains information related to the application (such as its name, MIME type, or device software version), this information will be leaked to eavesdroppers. In the above example, the CodeSec Static Code Analyzer (CodeSec Static Code Analyzer) reports a System Information Leak vulnerability in the return statement.', 'enRecommend': 'When writing error messages, always keep security in mind. During the coding process, try to avoid using complex messages and promote the use of short error messages. Restricting the generation and storage of complex output data will help administrators and programmers diagnose the problem. In addition, pay attention to debugging trace information, which may appear in obscure locations (such as comments lines embedded in error page HTML code).\n\nEven a short error message that does not reveal stack traces or database dumps can potentially help attackers launch attacks. For example, an "Access Denied" message can reveal the existence of a file or user in the system.\n\nIf you are concerned about system data on Android devices being leaked through NFC, you can take one of the following three measures: do not include system data in messages sent to other devices within range; encrypt the message payload; or establish a secure communication channel at a higher level.', 'cnRecommend': '在编写错误消息时，始终要牢记安全性。在编码的过程中，尽量避免使用繁复的消息，提倡使用简短的错误消息。限制生成与存储繁复的输出数据将有助于管理员和程序员诊断问题的所在。此外，还要留意有关调试的跟踪信息，有时它可能出现在不明显的位置（例如嵌入在错误页 HTML 代码的注释行中）。\n\n即便是并未揭示栈踪迹或数据库转储的简短错误消息，也有可能帮助攻击者发起攻击。例如，“Access Denied”（拒绝访问）消息可以揭示系统中存在一个文件或用户。\n\n如果您担心 Android 设备上的系统数据会通过 NFC 泄露，那么您可以采取以下三种措施之一：不把系统数据包括在发送到范围内其他设备的消息中；或加密消息负载；或在更高层中建立安全通信通道。', 'isEdit': 1, 'securityStandards': 'OWASP Top 10 2021-A02:2021-加密失败,OWASP Top 10 2013-A6-敏感信息泄漏,GB/T 38674-2020 Java信息安全技术 应用软件安全编程指南-数据保护,GB/T 34944-2017 Java语言源代码缺陷测试规范-数据处理,Cert Java-输入输出,QGDW10929.5-2018-代码封装,CodeSec 规则分类-日志'}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>72</td>
                    <td class="caseexternaApitest_getVulDatapy">case\externaApi\test_getVulData.py</td>
                    <td>TestCodeSecAPI.test_getVulData_fail</td>
                    <td>4.5.1.3	根据漏洞ID查询漏洞信息 - 失败，传错误vulDataId</td>
                    <td>0.447434</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：参数非法。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vul/getVulData
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'bd526943393f901b8324945ccaa4939aca68d4d9a2ef02336b24cc4f717fbaf4',
 'x-cs-timestamp': '1727075488559'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'vulDataId': '1'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%svulDataId=1&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075488760&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '参数非法。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vul/getVulData 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075488559', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'bd526943393f901b8324945ccaa4939aca68d4d9a2ef02336b24cc4f717fbaf4', 'lang': 'zh-CN'}
请求参数：{'vulDataId': '1'}
响应：{'status': False, 'code': 'B408', 'message': '参数非法。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>73</td>
                    <td class="caseexternaApitest_getVulDatapy">case\externaApi\test_getVulData.py</td>
                    <td>TestCodeSecAPI.test_getVulData_fail2</td>
                    <td>4.5.1.3	根据漏洞ID查询漏洞信息 - 失败，不传vulDataId</td>
                    <td>0.416448</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：漏洞Id不能为空。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vul/getVulData
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '619137cfb6284f530c1f08def374e1f8a193573de73ca0968282ff93eeed5f7d',
 'x-cs-timestamp': '1727075489021'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%s&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075489195&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B500', 'message': '漏洞Id不能为空。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vul/getVulData 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075489021', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '619137cfb6284f530c1f08def374e1f8a193573de73ca0968282ff93eeed5f7d', 'lang': 'zh-CN'}
请求参数：{}
响应：{'status': False, 'code': 'B500', 'message': '漏洞Id不能为空。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>74</td>
                    <td class="caseexternaApitest_getVulDatapy">case\externaApi\test_getVulData.py</td>
                    <td>TestCodeSecAPI.test_getVulData_fail3</td>
                    <td>4.5.1.3	根据漏洞ID查询漏洞信息 - 失败，团管请求</td>
                    <td>0.382078</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：越权操作。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vul/getVulData
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': '7b214572-4f1d-4630-ba73-12731ecfdf02',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '4c2b6fea818b8e0af8a70048d699844feb6b86a2215677765618f93f0696dfef',
 'x-cs-timestamp': '1727075489360'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%svulDataId=010bfb6a-8495-4f0c-8a01-ed1074528d03&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075489558&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B433', 'message': '越权操作。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vul/getVulData 
请求头：{'accessKey': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'x-cs-timestamp': '1727075489360', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '4c2b6fea818b8e0af8a70048d699844feb6b86a2215677765618f93f0696dfef', 'lang': 'zh-CN'}
请求参数：{'vulDataId': '010bfb6a-8495-4f0c-8a01-ed1074528d03'}
响应：{'status': False, 'code': 'B433', 'message': '越权操作。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>75</td>
                    <td class="caseexternaApitest_getVulDatapy">case\externaApi\test_getVulData.py</td>
                    <td>TestCodeSecAPI.test_getVulData_fail4</td>
                    <td>4.5.1.3	根据漏洞ID查询漏洞信息 - 失败，传空vulDataId</td>
                    <td>0.457507</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：参数非法。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vul/getVulData
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'f0d482708d11c1a63cb502d0bd2573c3a1f9d9982d225d1d449253a6f23ca115',
 'x-cs-timestamp': '1727075489783'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'vulDataId': ''}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%s&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075490001&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '参数非法。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vul/getVulData 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075489783', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'f0d482708d11c1a63cb502d0bd2573c3a1f9d9982d225d1d449253a6f23ca115', 'lang': 'zh-CN'}
请求参数：{'vulDataId': ''}
响应：{'status': False, 'code': 'B408', 'message': '参数非法。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>76</td>
                    <td class="caseexternaApitest_getVulDatapy">case\externaApi\test_getVulData.py</td>
                    <td>TestCodeSecAPI.test_getVulData_specialChar</td>
                    <td>4.5.1.3 根据漏洞ID查询漏洞信息 - 失败，传特殊字符vulDataId</td>
                    <td>0.533959</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：参数非法。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vul/getVulData
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '51644e2b72e5c567bf6cf78eadace4b55e74608679bffde2db690376036efc99',
 'x-cs-timestamp': '1727075490243'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'vulDataId': '!@#$%^&*()_+'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%svulDataId=!@#$%^&*()_+&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075490547&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '参数非法。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vul/getVulData 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075490243', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '51644e2b72e5c567bf6cf78eadace4b55e74608679bffde2db690376036efc99', 'lang': 'zh-CN'}
请求参数：{'vulDataId': '!@#$%^&*()_+'}
响应：{'status': False, 'code': 'B408', 'message': '参数非法。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>77</td>
                    <td class="caseexternaApitest_getVulDatapy">case\externaApi\test_getVulData.py</td>
                    <td>TestCodeSecAPI.test_getVulData_longVulDataId</td>
                    <td>4.5.1.3 根据漏洞ID查询漏洞信息 - 失败，传过长的vulDataId</td>
                    <td>0.541172</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：参数非法。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vul/getVulData
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '17327b41cebf76d3f472a376807a430eb5df91c4bbae6963a6422d9077291d98',
 'x-cs-timestamp': '1727075490785'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'vulDataId': 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%svulDataId=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075491081&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '参数非法。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vul/getVulData 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075490785', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '17327b41cebf76d3f472a376807a430eb5df91c4bbae6963a6422d9077291d98', 'lang': 'zh-CN'}
请求参数：{'vulDataId': 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'}
响应：{'status': False, 'code': 'B408', 'message': '参数非法。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>78</td>
                    <td class="caseexternaApitest_getVulDatapy">case\externaApi\test_getVulData.py</td>
                    <td>TestCodeSecAPI.test_getVulData_invalidVulDataIdFormat</td>
                    <td>4.5.1.3 根据漏洞ID查询漏洞信息 - 失败，传不符合UUID格式的vulDataId</td>
                    <td>0.381938</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：参数非法。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/vul/getVulData
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': 'a60fc5079e9605f3785453cc3c96cc49a8ce41bd97ae19ea43c261b0f0b14cf9',
 'x-cs-timestamp': '1727075491320'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'vulDataId': 'not-a-uuid'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:281 验签拼接参数：
%svulDataId=not-a-uuid&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075491489&crx123456

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B408', 'message': '参数非法。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/vul/getVulData 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075491320', 'x-cs-nonce': 'crx123456', 'x-cs-signature': 'a60fc5079e9605f3785453cc3c96cc49a8ce41bd97ae19ea43c261b0f0b14cf9', 'lang': 'zh-CN'}
请求参数：{'vulDataId': 'not-a-uuid'}
响应：{'status': False, 'code': 'B408', 'message': '参数非法。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>79</td>
                    <td class="caseexternaApitest_whiteCreatepy">case\externaApi\test_whiteCreate.py</td>
                    <td>TestCodeSecAPI.test_whiteCreate_success</td>
                    <td>4.5.5.3	创建白名单 - 成功</td>
                    <td>0.990780</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/cs/api/v2/whiteFunction/whiteCreate
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
 'lang': 'zh-CN',
 'x-cs-nonce': 'crx123456',
 'x-cs-signature': '676f727d6c4df1e880e56e285ed6bcef4685eb1d0ffb6865b4026806e2d76411',
 'x-cs-timestamp': '1727075491703'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'className': '',
 'createBy': '创建人名称1',
 'description': 'cccccc',
 'effectiveType': '1',
 'funName': 'xxx',
 'languageId': '1',
 'name': '测试白名单80275121727075491573',
 'outType': 'return',
 'packageName': '',
 'projectUuids': ['b8a01756-6b69-43fa-bd5b-fa40f033d8ea'],
 'selectType': '0',
 'status': '1'}

[32mINFO    [0m API:CodeSecTool.py:281 验签拼接参数：
%screateBy=创建人名称1&description=cccccc&effectiveType=1&funName=xxx&languageId=1&name=测试白名单80275121727075491573&outType=return&projectUuids=["b8a01756-6b69-43fa-bd5b-fa40f033d8ea"]&selectType=0&status=1&eyJhbGciOiJIUzUxMiJ9.eyJub25jZSI6IjZiMGY4N2U3LWQ1MWYtNDZjOC04YjI2LWM4ZTliYWU5NDUwZSIsInN1YiI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiJ9.-qpeeyHWepLXaMFFoNCmjovV1wP5ZTKgfAvQwI_oLsKxP1S8s-1GOOedmCosLCNr7BvzLAONFdtSKRO0Cu-YPw&1727075492498&crx123456

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200', 'message': '成功。', 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/cs/api/v2/whiteFunction/whiteCreate 
请求头：{'accessKey': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'x-cs-timestamp': '1727075491703', 'x-cs-nonce': 'crx123456', 'x-cs-signature': '676f727d6c4df1e880e56e285ed6bcef4685eb1d0ffb6865b4026806e2d76411', 'lang': 'zh-CN'}
请求参数：{'createBy': '创建人名称1', 'languageId': '1', 'name': '测试白名单80275121727075491573', 'description': 'cccccc', 'selectType': '0', 'outType': 'return', 'status': '1', 'funName': 'xxx', 'packageName': '', 'className': '', 'effectiveType': '1', 'projectUuids': ['b8a01756-6b69-43fa-bd5b-fa40f033d8ea']}
响应：{'status': True, 'code': 'B200', 'message': '成功。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>80</td>
                    <td class="caseinternalApitest_createProjectTaskpy">case\internalApi\test_createProjectTask.py</td>
                    <td>TestCodeSecAPI.test_1</td>
                    <td>None</td>
                    <td>0.000193</td>
                    
                    <td class="text-info">跳过</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">('E:\\学习项目\\CodesecApi\\case\\internalApi\\test_createProjectTask.py', 31, 'Skipped: unconditional skip')</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>81</td>
                    <td class="caseinternalApitest_createProjectTaskpy">case\internalApi\test_createProjectTask.py</td>
                    <td>TestCodeSecAPI.test_createProjectTask_success</td>
                    <td>创建git项目任务_成功:启动扫描</td>
                    <td>2.007780</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/getProjectUuidAndStoreId
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiI4ZDc2MjdhNy00MzRiLTRkYjItOWVmYS0yYWZhM2FhMTI3MzMifQ.lRucmiCF2IGxLj0NZCDncnXa0SBYm5tk1OlOEXurDKaoenNC9CwLfDCKSeqi2t4Le24Uuib2pHk8XAkBbvXrIA',
 'lang': 'zh-CN',
 'loginNonce': '124626c9-880c-489a-81d3-6b3ff6427b6c',
 'sign': '5b2f1b7113897a0e3c03ba945fb7dd4918e31db5abd251369191ff46ed683757',
 'timestamp': '1727075492679',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'projectUuid': '3d8f1d8f-068d-4270-95f2-e9c0f25aab62',
          'storeId': 'ece7275b-0adc-4233-bd7c-231b126f9df4'},
 'message': '成功。',
 'status': True}

[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/getGitBranch
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiIwY2ViNGRjMy04NDI5LTQxNWMtOGQyOS1jNTYwMDE0MzBiYzIifQ.hZGPrDdGQDjg7T8iKxKq17YnptrPQ5K-CKwkpb51hlh2OfQ5-smqGK9r6Ex1mgpDPm1Uxyp28MIGobhoSdUMNA',
 'lang': 'zh-CN',
 'loginNonce': '1962c1ab-75f9-42c6-864c-d3daa1628825',
 'sign': 'e0a563cd838f95cb66c9a97f293170e8ae2ba497a5f4b63f5c7dda062a327c23',
 'timestamp': '1727075492797',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'url': 'http://192.168.2.77:9010/heyaohua/audit_whitelistdemo.git'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'branchList': ['main', 'heyaohua-main-patch-62543'],
          'tagList': ['test']},
 'message': '获取Git分支成功。',
 'status': True}

[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/createProjectTask
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiIxZDY4OGVhYy02MmM3LTQ2ZTUtYjkzZS02ZjQzMTJmOTgzYzAifQ.sGK4dqT35uyb4z6WUZcLQDZd3YRttS5jnSMBgPlGOhWtjmSYSbXQNPqiXZj5PImsn-Oo_JJkJUWlVUVe3wrwSQ',
 'lang': 'zh-CN',
 'loginNonce': '0c9fb5ef-a768-4837-bae8-def05606d4fb',
 'sign': 'dfa42cc14e914d9e89be7fe0ab74c6083752289c9da0cc51ec0187189be9d04a',
 'timestamp': '1727075493965',
 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e',
 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'createTag': 1,
 'projectName': '接口创建项目1727075493',
 'projectType': 1,
 'projectUuid': '3d8f1d8f-068d-4270-95f2-e9c0f25aab62',
 'scanConfigVulRules': {'autoConfirm': 0,
                        'customRules': 5,
                        'fastScan': 0,
                        'fileIgnoreList': '',
                        'isIncrScan': 0,
                        'isOpenRely': 0,
                        'isScanBinary': 0,
                        'jdkVersion': '1.8',
                        'language': 1},
 'sourceMode': 2,
 'sourceUserData': {'branchName': 'main',
                    'channelType': 1,
                    'everyFew': 3,
                    'hour': '',
                    'isTimeScan': 0,
                    'minute': '',
                    'password': '',
                    'timeScanType': 0,
                    'url': 'http://192.168.2.77:9010/heyaohua/audit_whitelistdemo.git'},
 'startScanning': 1,
 'storeId': 'ece7275b-0adc-4233-bd7c-231b126f9df4'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200', 'message': '创建成功', 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/getProjectUuidAndStoreId 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiI4ZDc2MjdhNy00MzRiLTRkYjItOWVmYS0yYWZhM2FhMTI3MzMifQ.lRucmiCF2IGxLj0NZCDncnXa0SBYm5tk1OlOEXurDKaoenNC9CwLfDCKSeqi2t4Le24Uuib2pHk8XAkBbvXrIA', 'loginNonce': '124626c9-880c-489a-81d3-6b3ff6427b6c', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075492679', 'sign': '5b2f1b7113897a0e3c03ba945fb7dd4918e31db5abd251369191ff46ed683757', 'lang': 'zh-CN'}
请求参数：{}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'projectUuid': '3d8f1d8f-068d-4270-95f2-e9c0f25aab62', 'storeId': 'ece7275b-0adc-4233-bd7c-231b126f9df4'}}

请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/getGitBranch 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiIwY2ViNGRjMy04NDI5LTQxNWMtOGQyOS1jNTYwMDE0MzBiYzIifQ.hZGPrDdGQDjg7T8iKxKq17YnptrPQ5K-CKwkpb51hlh2OfQ5-smqGK9r6Ex1mgpDPm1Uxyp28MIGobhoSdUMNA', 'loginNonce': '1962c1ab-75f9-42c6-864c-d3daa1628825', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075492797', 'sign': 'e0a563cd838f95cb66c9a97f293170e8ae2ba497a5f4b63f5c7dda062a327c23', 'lang': 'zh-CN'}
请求参数：{'url': 'http://192.168.2.77:9010/heyaohua/audit_whitelistdemo.git'}
响应：{'status': True, 'code': 'B200', 'message': '获取Git分支成功。', 'data': {'branchList': ['main', 'heyaohua-main-patch-62543'], 'tagList': ['test']}}

请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/createProjectTask 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiIxZDY4OGVhYy02MmM3LTQ2ZTUtYjkzZS02ZjQzMTJmOTgzYzAifQ.sGK4dqT35uyb4z6WUZcLQDZd3YRttS5jnSMBgPlGOhWtjmSYSbXQNPqiXZj5PImsn-Oo_JJkJUWlVUVe3wrwSQ', 'loginNonce': '0c9fb5ef-a768-4837-bae8-def05606d4fb', 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e', 'timestamp': '1727075493965', 'sign': 'dfa42cc14e914d9e89be7fe0ab74c6083752289c9da0cc51ec0187189be9d04a', 'lang': 'zh-CN'}
请求参数：{'sourceUserData': {'isTimeScan': 0, 'password': '', 'everyFew': 3, 'timeScanType': 0, 'hour': '', 'branchName': 'main', 'channelType': 1, 'url': 'http://192.168.2.77:9010/heyaohua/audit_whitelistdemo.git', 'minute': ''}, 'sourceMode': 2, 'createTag': 1, 'projectType': 1, 'startScanning': 1, 'scanConfigVulRules': {'fastScan': 0, 'isIncrScan': 0, 'jdkVersion': '1.8', 'language': 1, 'customRules': 5, 'isScanBinary': 0, 'isOpenRely': 0, 'autoConfirm': 0, 'fileIgnoreList': ''}, 'projectName': '接口创建项目1727075493', 'storeId': 'ece7275b-0adc-4233-bd7c-231b126f9df4', 'projectUuid': '3d8f1d8f-068d-4270-95f2-e9c0f25aab62'}
响应：{'status': True, 'code': 'B200', 'message': '创建成功'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>82</td>
                    <td class="caseinternalApitest_datacenterpy">case\internalApi\test_datacenter.py</td>
                    <td>TestCodeSecAPI.test_login_sec</td>
                    <td>企管sec@seczone登录</td>
                    <td>0.092866</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:fb9d6032-e3ff-4357-8c42-18a17fd855bf
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>83</td>
                    <td class="caseinternalApitest_datacenterpy">case\internalApi\test_datacenter.py</td>
                    <td>TestCodeSecAPI.test_login_team</td>
                    <td>团管team@seczone登录</td>
                    <td>0.124855</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:7b214572-4f1d-4630-ba73-12731ecfdf02
团队orgUuid:00a7b33e-f075-4758-9ef0-d1bb989748ac
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>84</td>
                    <td class="caseinternalApitest_datacenterpy">case\internalApi\test_datacenter.py</td>
                    <td>TestCodeSecAPI.test_deleteProject</td>
                    <td>删除多余项目</td>
                    <td>0.000591</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">['3d8f1d8f-068d-4270-95f2-e9c0f25aab62']
接口创建相关项目已清空！

前置步骤：删除多余项目用例！
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>85</td>
                    <td class="caseinternalApitest_datacenterpy">case\internalApi\test_datacenter.py</td>
                    <td>TestCodeSecAPI.test_project_list</td>
                    <td>内部接口1:获取项目列表数据</td>
                    <td>0.225163</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/list
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiI5NTM4N2Q5My0zMGQ3LTQyMmUtYWJiYS0xMzkzNTcwOWYyODEifQ.IBqAUSPS_HB3Yz802RQYKToz9svlKLbkdJhVh_jj7L4lrvqGHYOD5vSYBzZEiSbw8mVMU2I8N1tRQycSc_CQcQ',
 'lang': 'zh-CN',
 'loginNonce': '108fc978-b2db-4c5f-92fe-0e9c2d39dc5c',
 'sign': '53bed6e927d68548b0334b880ac3307507d8190d774dbad890683f2ec77d0574',
 'timestamp': '1727075495048',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'pageSize': '1', 'projectType': '1'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'pageCurrent': 1,
          'pageSize': 1,
          'pageTotal': 31,
          'recordTotal': 31,
          'records': [{'appId': '6df0f2bc-023b-4c36-b575-3784dfee4dcb',
                       'createTime': '2024-09-23 15:11:34',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'gitSourceId': 1382,
                       'groupId': 1,
                       'id': 1388,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 56,
                       'mailConfigStatus': 0,
                       'name': '接口创建项目1727075493',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': '',
                       'projectName': '接口创建项目1727075493',
                       'projectType': 1,
                       'projectUuid': '3d8f1d8f-068d-4270-95f2-e9c0f25aab62',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 0,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'updateTime': '2024-09-23 15:11:34',
                       'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02',
                       'userName': 'team',
                       'versionId': 26}]},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/list 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiI5NTM4N2Q5My0zMGQ3LTQyMmUtYWJiYS0xMzkzNTcwOWYyODEifQ.IBqAUSPS_HB3Yz802RQYKToz9svlKLbkdJhVh_jj7L4lrvqGHYOD5vSYBzZEiSbw8mVMU2I8N1tRQycSc_CQcQ', 'loginNonce': '108fc978-b2db-4c5f-92fe-0e9c2d39dc5c', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075495048', 'sign': '53bed6e927d68548b0334b880ac3307507d8190d774dbad890683f2ec77d0574', 'lang': 'zh-CN'}
请求参数：{'projectType': '1', 'pageSize': '1'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 1, 'pageTotal': 31, 'recordTotal': 31, 'records': [{'id': 1388, 'createTime': '2024-09-23 15:11:34', 'updateTime': '2024-09-23 15:11:34', 'name': '接口创建项目1727075493', 'projectDesc': '', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 0, 'statusDynamicCode': 0, 'projectUuid': '3d8f1d8f-068d-4270-95f2-e9c0f25aab62', 'versionId': 26, 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'lastScanRecordIdStatic': 56, 'lastScanRecordIdDynamic': 0, 'userName': 'team', 'orgName': '深圳总部', 'projectName': '接口创建项目1727075493', 'appId': '6df0f2bc-023b-4c36-b575-3784dfee4dcb', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1382, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}]}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>86</td>
                    <td class="caseinternalApitest_internalApi_casepy">case\internalApi\test_internalApi_case.py</td>
                    <td>TestCodeSecInternalAPI.test_login_admin</td>
                    <td>None</td>
                    <td>0.235195</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:db735b1a-d6f6-49cf-91bf-f704f859e057
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>87</td>
                    <td class="caseinternalApitest_internalApi_casepy">case\internalApi\test_internalApi_case.py</td>
                    <td>TestCodeSecInternalAPI.test_login_sec</td>
                    <td>None</td>
                    <td>0.175745</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:fb9d6032-e3ff-4357-8c42-18a17fd855bf
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>88</td>
                    <td class="caseinternalApitest_internalApi_casepy">case\internalApi\test_internalApi_case.py</td>
                    <td>TestCodeSecInternalAPI.test_login_team</td>
                    <td>None</td>
                    <td>0.191764</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:7b214572-4f1d-4630-ba73-12731ecfdf02
团队orgUuid:00a7b33e-f075-4758-9ef0-d1bb989748ac
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>89</td>
                    <td class="caseinternalApitest_internalApi_casepy">case\internalApi\test_internalApi_case.py</td>
                    <td>TestCodeSecInternalAPI.test_deleteProject</td>
                    <td>None</td>
                    <td>0.000131</td>
                    
                    <td class="text-info">跳过</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">('E:\\学习项目\\CodesecApi\\case\\internalApi\\test_internalApi_case.py', 81, 'Skipped: unconditional skip')</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>90</td>
                    <td class="caseinternalApitest_internalApi_casepy">case\internalApi\test_internalApi_case.py</td>
                    <td>TestCodeSecInternalAPI.test2_updateUserCenterInfo</td>
                    <td>更新用户团队信息_失败，不存在或无权限的团队id</td>
                    <td>0.205434</td>
                    
                    <td class="text-danger">错误</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/org/getUserSwitchOrg
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiIzZmMzZjYwNS1mYzJhLTQ0YTQtODM0OC0yMjIxNGM5ZWJkYTgifQ.8hf3TV1BdwEgPLng0mO6mHLm7HfHlDDlakgE5vTX3J8V2nP_HI4imKHodEP6alp4uaf-mt1RXfKsk8h-PdOFCA',
 'lang': 'zh-CN',
 'loginNonce': 'eb0b069a-3d5a-42f4-9088-3f9bf33b4ed1',
 'sign': '96ca17713aa46a2cdb4b26f02191f435b895c5bd0c15a9abe1103ee4365a8c28',
 'timestamp': '1727075495890',
 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e',
 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200', 'data': [], 'message': '成功。', 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/org/getUserSwitchOrg 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiIzZmMzZjYwNS1mYzJhLTQ0YTQtODM0OC0yMjIxNGM5ZWJkYTgifQ.8hf3TV1BdwEgPLng0mO6mHLm7HfHlDDlakgE5vTX3J8V2nP_HI4imKHodEP6alp4uaf-mt1RXfKsk8h-PdOFCA', 'loginNonce': 'eb0b069a-3d5a-42f4-9088-3f9bf33b4ed1', 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e', 'timestamp': '1727075495890', 'sign': '96ca17713aa46a2cdb4b26f02191f435b895c5bd0c15a9abe1103ee4365a8c28', 'lang': 'zh-CN'}
请求参数：{}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': []}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.internalApi.test_internalApi_case.TestCodeSecInternalAPI object at 0x00000299DD39ACC0>

    @pytest.fixture
    def getUserSwitchOrg(self):
        url = f"{cs_url}/CodeSecInterfaceService/org/getUserSwitchOrg"
        params = {}
        response = send_request(url, "get", params, email_user=email_team)
>       orgUuid_switch = response['data'][0]['orgUuid']
E       IndexError: list index out of range

case\internalApi\test_internalApi_case.py:93: IndexError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>91</td>
                    <td class="caseinternalApitest_internalApi_casepy">case\internalApi\test_internalApi_case.py</td>
                    <td>TestCodeSecInternalAPI.test_project_list</td>
                    <td>获取项目列表</td>
                    <td>0.243874</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/list
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiIwMGY2ODYxMC02YzBmLTRmNTYtYmQxMS0xOWMxNjI4ZWQzZDUifQ.yn5rrORCu98XVL1QjvWFXEB0gsOo4dTcsaVMaaaGkkp6QtkjGHMptA-twv5d9lGzhJYc78jySpLo7aB6SSV1hw',
 'lang': 'zh-CN',
 'loginNonce': 'aa013b48-6158-4754-a879-81f4dd5ba6df',
 'sign': '9ca8b9325779fe85ca9b5c74fd20a217fb6d2b42da4a8cad6e61692ff3003e71',
 'timestamp': '1727075496084',
 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e',
 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'pageSize': '10', 'projectType': '1'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 4,
          'recordTotal': 31,
          'records': [{'appId': '6df0f2bc-023b-4c36-b575-3784dfee4dcb',
                       'createTime': '2024-09-23 15:11:34',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'gitSourceId': 1382,
                       'groupId': 1,
                       'id': 1388,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 56,
                       'mailConfigStatus': 0,
                       'name': '接口创建项目1727075493',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': '',
                       'projectName': '接口创建项目1727075493',
                       'projectType': 1,
                       'projectUuid': '3d8f1d8f-068d-4270-95f2-e9c0f25aab62',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 0,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'updateTime': '2024-09-23 15:11:34',
                       'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02',
                       'userName': 'team',
                       'versionId': 26},
                      {'appId': 'd3b0d2b2-aa76-4a96-a688-a97af5fb172e',
                       'createTime': '2024-09-19 10:34:41',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1380,
                       'groupId': 1,
                       'id': 1384,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'authenticationMethod=3不存在参数',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'authenticationMethod=3不存在参数',
                       'projectType': 1,
                       'projectUuid': 'c1a52b32-94c5-4d26-82c5-4fce4f5240a6',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:41',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'e0936335-0c6c-4dde-aa88-606b062dec7d',
                       'createTime': '2024-09-19 10:34:40',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1379,
                       'groupId': 1,
                       'id': 1383,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'authenticationMethod=2SSH密钥',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'authenticationMethod=2SSH密钥',
                       'projectType': 1,
                       'projectUuid': 'cf83ec69-ca0d-4bb5-a59e-309f8c9cd768',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:40',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '5669177f-4dfd-44e4-a54c-06c17e7b987f',
                       'createTime': '2024-09-19 10:34:38',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1378,
                       'groupId': 1,
                       'id': 1382,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'authenticationMethod=1token认证',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'authenticationMethod=1token认证',
                       'projectType': 1,
                       'projectUuid': 'f3acb8e3-7e75-44e7-8a6e-48d5efee0275',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:38',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '47e97a92-2dbe-4abd-b2fc-7c2c8acd3f4f',
                       'createTime': '2024-09-19 10:34:37',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1377,
                       'groupId': 1,
                       'id': 1381,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'authenticationMethod=0用户名密码认证',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'authenticationMethod=0用户名密码认证',
                       'projectType': 1,
                       'projectUuid': '2bc261af-2b6e-497f-a868-86354544ac20',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:37',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'cc602897-d15f-4107-9f67-8ea17f5e6253',
                       'createTime': '2024-09-19 10:34:35',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1376,
                       'groupId': 1,
                       'id': 1380,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType4',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType4',
                       'projectType': 1,
                       'projectUuid': 'f786f1aa-77cc-4603-955b-cf3ec2cc0201',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:35',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'e1c143f9-9995-4c97-afdc-8143c3c826c1',
                       'createTime': '2024-09-19 10:34:34',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1375,
                       'groupId': 1,
                       'id': 1379,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType7_bitbucket',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType7_bitbucket',
                       'projectType': 1,
                       'projectUuid': 'f805edb5-f1f5-4a43-822a-6e32a7352e51',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:34',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': 'df85fab2-b357-4032-b7ad-015f3dd7528f',
                       'createTime': '2024-09-19 10:34:33',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1374,
                       'groupId': 1,
                       'id': 1378,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType6_gerrit',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType6_gerrit',
                       'projectType': 1,
                       'projectUuid': 'f2ebf8c0-a638-41a2-a946-aff57cc22825',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:33',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '6a10195a-3b81-47a6-b528-30d585cd1087',
                       'createTime': '2024-09-19 10:34:32',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1373,
                       'groupId': 1,
                       'id': 1377,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType3_gitee',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType3_gitee',
                       'projectType': 1,
                       'projectUuid': '063a6366-024b-446e-adc0-53c420c27af8',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:32',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26},
                      {'appId': '7bbac81d-10fa-4076-a253-c5b0bf71cee4',
                       'createTime': '2024-09-19 10:34:31',
                       'exportBtn': False,
                       'exportReportFlag': False,
                       'extraMark': '',
                       'gitSourceId': 1372,
                       'groupId': 1,
                       'id': 1376,
                       'isEdit': 0,
                       'isIde': 0,
                       'isTimeScan': 0,
                       'languageId': 1,
                       'languageName': 'Java/Jsp',
                       'lastScanRecordIdDynamic': 0,
                       'lastScanRecordIdStatic': 0,
                       'mailConfigStatus': 0,
                       'name': 'gitType2_github',
                       'orgName': '深圳总部',
                       'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
                       'projectDesc': 'authenticationMethod=0用户名密码认证',
                       'projectName': 'gitType2_github',
                       'projectType': 1,
                       'projectUuid': '67f61888-7541-492d-a3f1-01b147bc0c58',
                       'sendReportFlag': False,
                       'sourceMode': 2,
                       'statusCodingStandards': 0,
                       'statusDynamicCode': 0,
                       'statusRecord': 1,
                       'statusStaticCode': 4,
                       'statusTask': 0,
                       'svnSourceId': 0,
                       'thirdType': 0,
                       'updateTime': '2024-09-19 10:34:31',
                       'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf',
                       'userName': 'sec',
                       'versionId': 26}]},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/list 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiIwMGY2ODYxMC02YzBmLTRmNTYtYmQxMS0xOWMxNjI4ZWQzZDUifQ.yn5rrORCu98XVL1QjvWFXEB0gsOo4dTcsaVMaaaGkkp6QtkjGHMptA-twv5d9lGzhJYc78jySpLo7aB6SSV1hw', 'loginNonce': 'aa013b48-6158-4754-a879-81f4dd5ba6df', 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e', 'timestamp': '1727075496084', 'sign': '9ca8b9325779fe85ca9b5c74fd20a217fb6d2b42da4a8cad6e61692ff3003e71', 'lang': 'zh-CN'}
请求参数：{'projectType': '1', 'pageSize': '10'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 4, 'recordTotal': 31, 'records': [{'id': 1388, 'createTime': '2024-09-23 15:11:34', 'updateTime': '2024-09-23 15:11:34', 'name': '接口创建项目1727075493', 'projectDesc': '', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 0, 'statusDynamicCode': 0, 'projectUuid': '3d8f1d8f-068d-4270-95f2-e9c0f25aab62', 'versionId': 26, 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'lastScanRecordIdStatic': 56, 'lastScanRecordIdDynamic': 0, 'userName': 'team', 'orgName': '深圳总部', 'projectName': '接口创建项目1727075493', 'appId': '6df0f2bc-023b-4c36-b575-3784dfee4dcb', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1382, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1384, 'createTime': '2024-09-19 10:34:41', 'updateTime': '2024-09-19 10:34:41', 'name': 'authenticationMethod=3不存在参数', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'c1a52b32-94c5-4d26-82c5-4fce4f5240a6', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'authenticationMethod=3不存在参数', 'appId': 'd3b0d2b2-aa76-4a96-a688-a97af5fb172e', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1380, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1383, 'createTime': '2024-09-19 10:34:40', 'updateTime': '2024-09-19 10:34:40', 'name': 'authenticationMethod=2SSH密钥', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'cf83ec69-ca0d-4bb5-a59e-309f8c9cd768', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'authenticationMethod=2SSH密钥', 'appId': 'e0936335-0c6c-4dde-aa88-606b062dec7d', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1379, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1382, 'createTime': '2024-09-19 10:34:38', 'updateTime': '2024-09-19 10:34:38', 'name': 'authenticationMethod=1token认证', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'f3acb8e3-7e75-44e7-8a6e-48d5efee0275', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'authenticationMethod=1token认证', 'appId': '5669177f-4dfd-44e4-a54c-06c17e7b987f', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1378, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1381, 'createTime': '2024-09-19 10:34:37', 'updateTime': '2024-09-19 10:34:37', 'name': 'authenticationMethod=0用户名密码认证', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '2bc261af-2b6e-497f-a868-86354544ac20', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'authenticationMethod=0用户名密码认证', 'appId': '47e97a92-2dbe-4abd-b2fc-7c2c8acd3f4f', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1377, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1380, 'createTime': '2024-09-19 10:34:35', 'updateTime': '2024-09-19 10:34:35', 'name': 'gitType4', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'f786f1aa-77cc-4603-955b-cf3ec2cc0201', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType4', 'appId': 'cc602897-d15f-4107-9f67-8ea17f5e6253', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1376, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1379, 'createTime': '2024-09-19 10:34:34', 'updateTime': '2024-09-19 10:34:34', 'name': 'gitType7_bitbucket', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'f805edb5-f1f5-4a43-822a-6e32a7352e51', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType7_bitbucket', 'appId': 'e1c143f9-9995-4c97-afdc-8143c3c826c1', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1375, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1378, 'createTime': '2024-09-19 10:34:33', 'updateTime': '2024-09-19 10:34:33', 'name': 'gitType6_gerrit', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': 'f2ebf8c0-a638-41a2-a946-aff57cc22825', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType6_gerrit', 'appId': 'df85fab2-b357-4032-b7ad-015f3dd7528f', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1374, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1377, 'createTime': '2024-09-19 10:34:32', 'updateTime': '2024-09-19 10:34:32', 'name': 'gitType3_gitee', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '063a6366-024b-446e-adc0-53c420c27af8', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType3_gitee', 'appId': '6a10195a-3b81-47a6-b528-30d585cd1087', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1373, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}, {'id': 1376, 'createTime': '2024-09-19 10:34:31', 'updateTime': '2024-09-19 10:34:31', 'name': 'gitType2_github', 'projectDesc': 'authenticationMethod=0用户名密码认证', 'statusTask': 0, 'statusRecord': 1, 'statusCodingStandards': 0, 'statusStaticCode': 4, 'statusDynamicCode': 0, 'projectUuid': '67f61888-7541-492d-a3f1-01b147bc0c58', 'versionId': 26, 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'groupId': 1, 'isIde': 0, 'isEdit': 0, 'extraMark': '', 'lastScanRecordIdStatic': 0, 'lastScanRecordIdDynamic': 0, 'userName': 'sec', 'orgName': '深圳总部', 'projectName': 'gitType2_github', 'appId': '7bbac81d-10fa-4076-a253-c5b0bf71cee4', 'projectType': 1, 'isTimeScan': 0, 'sourceMode': 2, 'gitSourceId': 1372, 'svnSourceId': 0, 'languageId': 1, 'languageName': 'Java/Jsp', 'thirdType': 0, 'exportReportFlag': False, 'sendReportFlag': False, 'mailConfigStatus': 0, 'exportBtn': False}]}}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>92</td>
                    <td class="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</td>
                    <td>TestCodeSecInternalAPI.test_login_admin</td>
                    <td>None</td>
                    <td>0.172832</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:db735b1a-d6f6-49cf-91bf-f704f859e057
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>93</td>
                    <td class="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</td>
                    <td>TestCodeSecInternalAPI.test_login_sec</td>
                    <td>None</td>
                    <td>0.310696</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:fb9d6032-e3ff-4357-8c42-18a17fd855bf
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>94</td>
                    <td class="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</td>
                    <td>TestCodeSecInternalAPI.test_login_team</td>
                    <td>None</td>
                    <td>0.246683</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
用户userId:7b214572-4f1d-4630-ba73-12731ecfdf02
团队orgUuid:00a7b33e-f075-4758-9ef0-d1bb989748ac
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>95</td>
                    <td class="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</td>
                    <td>TestCodeSecInternalAPI.test_deleteProject</td>
                    <td>None</td>
                    <td>0.000430</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px"></pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">['3d8f1d8f-068d-4270-95f2-e9c0f25aab62']
接口创建相关项目已清空！

前置步骤：删除多余项目用例！
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>96</td>
                    <td class="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</td>
                    <td>TestCodeSecInternalAPI.test_get_listStaticTreeData2</td>
                    <td>获取左侧漏洞书列表</td>
                    <td>0.343891</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/list
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiIwMzE4OGQ3NC04ZmNjLTQxNTEtOWYyZS0zNmFhMzBjOTRlMWUifQ.jgT14LYpb3GXXwObsxWkLw_C1w7Ktx-KEXQNNP6z0zPClxlp-1Z7f7a2X7Hi_ScHoiLDtBJMXMLoOBNKw7uHwQ',
 'lang': 'zh-CN',
 'loginNonce': '320ec8b9-4ba4-4657-9c72-f9b8f0424e88',
 'sign': '3ee36b413d44f956f1280e48ae92f520211c5cd5c5e5d99e20a175f1a77813ab',
 'timestamp': '1727075497238',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 0,
          'recordTotal': 0,
          'records': []},
 'message': '成功。',
 'status': True}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：扫描任务不存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/viewCode/listStaticTreeData
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiJiNzZmOWQxYy0xODJkLTQ3ZjEtODA4Yi00OGFiMTlmYzBmMzcifQ.8i3n9448N9KR2hxUla1cgcNrQ8u721uDJrGu430oCb9AeQ09DGXLm79wHXtcCj7AoA2cnxcsNhS4bWfi0ypIWg',
 'lang': 'zh-CN',
 'loginNonce': '4dc3b326-e918-435d-82fb-43e1648155c6',
 'sign': '1b1bd50cbec904f40ce40a5be5640beae685e8d3cb19e5ed8df04a5084cfe8dc',
 'timestamp': '1727075497400',
 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e',
 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'appId': 'code', 'catId': '4', 'recordId': 'data', 'vulTagList': '1,2,3'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B459', 'message': '扫描任务不存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/list 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiIwMzE4OGQ3NC04ZmNjLTQxNTEtOWYyZS0zNmFhMzBjOTRlMWUifQ.jgT14LYpb3GXXwObsxWkLw_C1w7Ktx-KEXQNNP6z0zPClxlp-1Z7f7a2X7Hi_ScHoiLDtBJMXMLoOBNKw7uHwQ', 'loginNonce': '320ec8b9-4ba4-4657-9c72-f9b8f0424e88', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075497238', 'sign': '3ee36b413d44f956f1280e48ae92f520211c5cd5c5e5d99e20a175f1a77813ab', 'lang': 'zh-CN'}
请求参数：{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 0, 'recordTotal': 0, 'records': []}}

请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/viewCode/listStaticTreeData 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiJiNzZmOWQxYy0xODJkLTQ3ZjEtODA4Yi00OGFiMTlmYzBmMzcifQ.8i3n9448N9KR2hxUla1cgcNrQ8u721uDJrGu430oCb9AeQ09DGXLm79wHXtcCj7AoA2cnxcsNhS4bWfi0ypIWg', 'loginNonce': '4dc3b326-e918-435d-82fb-43e1648155c6', 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e', 'timestamp': '1727075497400', 'sign': '1b1bd50cbec904f40ce40a5be5640beae685e8d3cb19e5ed8df04a5084cfe8dc', 'lang': 'zh-CN'}
请求参数：{'recordId': 'data', 'appId': 'code', 'catId': '4', 'vulTagList': '1,2,3'}
响应：{'status': False, 'code': 'B459', 'message': '扫描任务不存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.internalApi.test_main_process_scenario.TestCodeSecInternalAPI object at 0x00000299DD39A9F0>

    def test_get_listStaticTreeData2(self):
        """获取左侧漏洞书列表"""
        projectUuid, appId, statusStaticCode, recordId = project_list()
        url = f"{cs_url}/CodeSecInterfaceService/viewCode/listStaticTreeData"
        params = {
            "recordId": recordId,
            "appId": appId,
            "catId": "4",
            "vulTagList": "1,2,3"
    
        }
        response = send_request(url, "get", params, email_user=email_team)
>       assert response["status"] == True
E       assert False == True

case\internalApi\test_main_process_scenario.py:214: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>97</td>
                    <td class="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</td>
                    <td>TestCodeSecInternalAPI.test_get_listStaticTreeData</td>
                    <td>获取左侧漏洞书列表_成功，设置变量：vulcatName、vulDataId</td>
                    <td>0.322609</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/list
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiIxMDE2OTIzOS1kMmJkLTRmMGItYmI4Zi00MzdkZTlhMTFhN2EifQ.lom83fCnFUKCtxu1J-bhLQPjh-zGFtEGOrrwBD1WX_VDgqj6TaTVmfOeM6kIXYNrAYPtukUaP3R_6n1B_M_v7Q',
 'lang': 'zh-CN',
 'loginNonce': 'e9b7fb04-92ca-4cdf-a399-8d2367caddf7',
 'sign': 'f8d3d3c2c12ead088c30a8fee192e15e633fa50c49fc3aaa0f8ec575cd8b219f',
 'timestamp': '1727075497534',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 0,
          'recordTotal': 0,
          'records': []},
 'message': '成功。',
 'status': True}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：扫描任务不存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/viewCode/listStaticTreeData
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiI0NzA4ZTdhOS0yODk5LTQyMTQtOWY2OS1kY2ExZWQyZmQwOTIifQ.X0oOLaqPEZhAHKlgAIoiyc47ft5DQLNghUfYDYRTYmX2RrSCSCFRe39wJbeURakZg25Uf71YcJzCegaPC-CbiQ',
 'lang': 'zh-CN',
 'loginNonce': 'cbd2c403-937d-46d2-beea-06eae221d756',
 'sign': '73266d24bb9723f0334ab3e7c81d4637943f760b166f30faae9d652f01eb0f4d',
 'timestamp': '1727075497725',
 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e',
 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'appId': 'code', 'catId': '4', 'recordId': 'data', 'vulTagList': '1,2,3'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B459', 'message': '扫描任务不存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/list 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiIxMDE2OTIzOS1kMmJkLTRmMGItYmI4Zi00MzdkZTlhMTFhN2EifQ.lom83fCnFUKCtxu1J-bhLQPjh-zGFtEGOrrwBD1WX_VDgqj6TaTVmfOeM6kIXYNrAYPtukUaP3R_6n1B_M_v7Q', 'loginNonce': 'e9b7fb04-92ca-4cdf-a399-8d2367caddf7', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075497534', 'sign': 'f8d3d3c2c12ead088c30a8fee192e15e633fa50c49fc3aaa0f8ec575cd8b219f', 'lang': 'zh-CN'}
请求参数：{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 0, 'recordTotal': 0, 'records': []}}

请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/viewCode/listStaticTreeData 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6IjdiMjE0NTcyLTRmMWQtNDYzMC1iYTczLTEyNzMxZWNmZGYwMiIsImVtYWlsIjoidGVhbUBzZWN6b25lLmNuIiwidXNlcm5hbWUiOiJ0ZWFtQHNlY3pvbmUuY24iLCJ0b2tlbiI6ImFjMDQzOTc1LTBhYzAtNDMzYS1hZDExLWJkNzQzNzc2ZDU5ZSIsInJvbGVzIjpbIlJPTEVfdGVhbWFkbWluIl0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3RlYW1hZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiI3YjIxNDU3Mi00ZjFkLTQ2MzAtYmE3My0xMjczMWVjZmRmMDIiLCJqdGkiOiI0NzA4ZTdhOS0yODk5LTQyMTQtOWY2OS1kY2ExZWQyZmQwOTIifQ.X0oOLaqPEZhAHKlgAIoiyc47ft5DQLNghUfYDYRTYmX2RrSCSCFRe39wJbeURakZg25Uf71YcJzCegaPC-CbiQ', 'loginNonce': 'cbd2c403-937d-46d2-beea-06eae221d756', 'userId': '7b214572-4f1d-4630-ba73-12731ecfdf02', 'token': 'ac043975-0ac0-433a-ad11-bd743776d59e', 'timestamp': '1727075497725', 'sign': '73266d24bb9723f0334ab3e7c81d4637943f760b166f30faae9d652f01eb0f4d', 'lang': 'zh-CN'}
请求参数：{'recordId': 'data', 'appId': 'code', 'catId': '4', 'vulTagList': '1,2,3'}
响应：{'status': False, 'code': 'B459', 'message': '扫描任务不存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.internalApi.test_main_process_scenario.TestCodeSecInternalAPI object at 0x00000299DD399EE0>

    def test_get_listStaticTreeData(self):
        """获取左侧漏洞书列表_成功，设置变量：vulcatName、vulDataId"""
>       response = get_listStaticTreeData()

case\internalApi\test_main_process_scenario.py:220: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def get_listStaticTreeData():
        """获取左侧漏洞书列表"""
        projectUuid, appId, statusStaticCode, recordId = project_list()
        url = f"{cs_url}/CodeSecInterfaceService/viewCode/listStaticTreeData"
        params = {
            "recordId": recordId,
            "appId": appId,
            "catId": "4",
            "vulTagList": "1,2,3"
        }
        response = send_request(url, "get", params, email_user=email_team)
>       assert response["status"] == True
E       assert False == True

case\internalApi\test_main_process_scenario.py:41: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>98</td>
                    <td class="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</td>
                    <td>TestCodeSecInternalAPI.test_get_listStaticVulTrace</td>
                    <td>None</td>
                    <td>0.487289</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/list
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiJhYmU2ZGQ5ZS00NTM2LTRlZDctYjczNi01YzU1M2NlZWVjZmYifQ.vKy1XYpYvllL43lOPjFwgGhFoEVz_1l2QMQTgfkPSFN6JTyQKCd5nfrq-epkqO0LThEaeF6PAGfBKoajac6I6w',
 'lang': 'zh-CN',
 'loginNonce': '83896dac-c2ea-48f5-beb8-798aebe39324',
 'sign': '9d2769f838c389b4a9e35664f65a3f6e6bef6073c06bc2d81a3acfbbe7b69c8a',
 'timestamp': '1727075497937',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 0,
          'recordTotal': 0,
          'records': []},
 'message': '成功。',
 'status': True}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：扫描任务不存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/viewCode/listStaticVulTrace
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiIzNjkyNjkyYi00YTM2LTRhYmMtYmI5Ny00Yzc3MDdmNjdkYzkifQ.jkDduhebDlMI7HoI2GTijGn7pS47noNl3_lcW7aZp0PLUM0HK909fsKQU_HUEGhCU4wCOdnM8_zSBGiZY747oQ',
 'lang': 'zh-CN',
 'loginNonce': 'f18a253d-ded2-46f8-937f-fc77c36fca72',
 'sign': 'efbf3150da970d6969162a4cab6ee46f3cb3097252ebd362384bf78cfb305873',
 'timestamp': '1727075498219',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'appId': 'code',
 'catId': '4',
 'recordId': 'data',
 'riskId': '1,2,3',
 'vulDataId': 'b1119a27-1163-c65c-857c-1fe55658e286'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B459', 'message': '扫描任务不存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/list 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiJhYmU2ZGQ5ZS00NTM2LTRlZDctYjczNi01YzU1M2NlZWVjZmYifQ.vKy1XYpYvllL43lOPjFwgGhFoEVz_1l2QMQTgfkPSFN6JTyQKCd5nfrq-epkqO0LThEaeF6PAGfBKoajac6I6w', 'loginNonce': '83896dac-c2ea-48f5-beb8-798aebe39324', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075497937', 'sign': '9d2769f838c389b4a9e35664f65a3f6e6bef6073c06bc2d81a3acfbbe7b69c8a', 'lang': 'zh-CN'}
请求参数：{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 0, 'recordTotal': 0, 'records': []}}

请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/viewCode/listStaticVulTrace 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiIzNjkyNjkyYi00YTM2LTRhYmMtYmI5Ny00Yzc3MDdmNjdkYzkifQ.jkDduhebDlMI7HoI2GTijGn7pS47noNl3_lcW7aZp0PLUM0HK909fsKQU_HUEGhCU4wCOdnM8_zSBGiZY747oQ', 'loginNonce': 'f18a253d-ded2-46f8-937f-fc77c36fca72', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075498219', 'sign': 'efbf3150da970d6969162a4cab6ee46f3cb3097252ebd362384bf78cfb305873', 'lang': 'zh-CN'}
请求参数：{'recordId': 'data', 'appId': 'code', 'vulDataId': 'b1119a27-1163-c65c-857c-1fe55658e286', 'riskId': '1,2,3', 'catId': '4'}
响应：{'status': False, 'code': 'B459', 'message': '扫描任务不存在。'}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.internalApi.test_main_process_scenario.TestCodeSecInternalAPI object at 0x00000299DD39BB60>

    def test_get_listStaticVulTrace(self):
>       get_listStaticVulTrace()

case\internalApi\test_main_process_scenario.py:232: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def get_listStaticVulTrace():
        """获取右侧漏洞书列表"""
        projectUuid, appId, statusStaticCode, recordId = project_list()
        url = f"{cs_url}/CodeSecInterfaceService/viewCode/listStaticVulTrace"
        params = {
            "recordId": recordId,
            "appId": appId,
            "vulDataId": "b1119a27-1163-c65c-857c-1fe55658e286",
            "riskId": "1,2,3",
            # "vulTagList": "1,2,3,4,5",
            "catId": "4"
        }
        response = send_request(url, "get", params, email_user=email)
>       assert response["status"] == True
E       assert False == True

case\internalApi\test_main_process_scenario.py:59: AssertionError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>99</td>
                    <td class="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</td>
                    <td>TestCodeSecInternalAPI.test_createProjectTask</td>
                    <td>None</td>
                    <td>0.220879</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/list
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiJlMTE0OGRkNC1lODM4LTQ5ODEtYjY5ZC0xYThlYTU0MDM1MWYifQ.4rTeadcksGlF5ouBPOizCt73c0EtYh5Ibg4wbItmJGIAKOVLibmptIgF8p0EmxeG1kFgTvQUkAE87U6K7zSwtg',
 'lang': 'zh-CN',
 'loginNonce': '3bada346-6adf-46d9-901d-3ecb342c2948',
 'sign': '75bc69adecd95debba26a7cbab5bf82912477678d212a5bac253c35b3d88d7c5',
 'timestamp': '1727075498448',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 0,
          'recordTotal': 0,
          'records': []},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/list 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiJlMTE0OGRkNC1lODM4LTQ5ODEtYjY5ZC0xYThlYTU0MDM1MWYifQ.4rTeadcksGlF5ouBPOizCt73c0EtYh5Ibg4wbItmJGIAKOVLibmptIgF8p0EmxeG1kFgTvQUkAE87U6K7zSwtg', 'loginNonce': '3bada346-6adf-46d9-901d-3ecb342c2948', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075498448', 'sign': '75bc69adecd95debba26a7cbab5bf82912477678d212a5bac253c35b3d88d7c5', 'lang': 'zh-CN'}
请求参数：{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 0, 'recordTotal': 0, 'records': []}}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.internalApi.test_main_process_scenario.TestCodeSecInternalAPI object at 0x00000299DD39BCB0>

    def test_createProjectTask(self):
        # 判断存在项目不存在后创建项目
>       if project_list()[0] is None:
E       KeyError: 0

case\internalApi\test_main_process_scenario.py:236: KeyError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>100</td>
                    <td class="caseinternalApitest_main_process_scenariopy">case\internalApi\test_main_process_scenario.py</td>
                    <td>TestCodeSecInternalAPI.test_project_list</td>
                    <td>None</td>
                    <td>0.443102</td>
                    
                    <td class="text-warning">失败</td>
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="contact"
                                           aria-selected="false" style="padding: 0 16px">异常信息</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/list
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiJlNTc4Y2I5Ni0zMTNhLTQyZTItYWEzYy1kMmIzM2E1ZWNlOGEifQ.JlyshElfIBZOlp9mjB0G4oI0BQsxY-UTsNNBj02ofSh12bluo_l5qDENon1u_AtcHu-qWql5S_c7RanPkNDxQw',
 'lang': 'zh-CN',
 'loginNonce': '7fb21338-5bab-47f6-af37-f03d4a4795a4',
 'sign': 'bb08f76ee96ab2e3a3b7d0f5a13a9a2bab40e252b028ec9ce698bae9dc6b468c',
 'timestamp': '1727075498707',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 0,
          'recordTotal': 0,
          'records': []},
 'message': '成功。',
 'status': True}

[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/project/list
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiI1OTRlODg0MC1kMTM3LTQ0MzctYTYxNi04YzJjZTRmODc4ZTkifQ.nfyAkXMjLbLrNXp9UWBWttXANzkRLIMDTO_yzkvS7y42LgNtFLVe-45-SEK_eezxDHOP5lt77k4PDXW_Rm8cnQ',
 'lang': 'zh-CN',
 'loginNonce': '28ac38cc-86b9-46c6-a608-a0007c18ea10',
 'sign': '75011eb9b77fb0a8d57c7ccc13ee9880a142b309d4366c2bbb8429e068bf51d8',
 'timestamp': '1727075498887',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': {'pageCurrent': 1,
          'pageSize': 10,
          'pageTotal': 0,
          'recordTotal': 0,
          'records': []},
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/list 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiJlNTc4Y2I5Ni0zMTNhLTQyZTItYWEzYy1kMmIzM2E1ZWNlOGEifQ.JlyshElfIBZOlp9mjB0G4oI0BQsxY-UTsNNBj02ofSh12bluo_l5qDENon1u_AtcHu-qWql5S_c7RanPkNDxQw', 'loginNonce': '7fb21338-5bab-47f6-af37-f03d4a4795a4', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075498707', 'sign': 'bb08f76ee96ab2e3a3b7d0f5a13a9a2bab40e252b028ec9ce698bae9dc6b468c', 'lang': 'zh-CN'}
请求参数：{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 0, 'recordTotal': 0, 'records': []}}
{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 0, 'recordTotal': 0, 'records': []}}

请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/project/list 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiI1OTRlODg0MC1kMTM3LTQ0MzctYTYxNi04YzJjZTRmODc4ZTkifQ.nfyAkXMjLbLrNXp9UWBWttXANzkRLIMDTO_yzkvS7y42LgNtFLVe-45-SEK_eezxDHOP5lt77k4PDXW_Rm8cnQ', 'loginNonce': '28ac38cc-86b9-46c6-a608-a0007c18ea10', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075498887', 'sign': '75011eb9b77fb0a8d57c7ccc13ee9880a142b309d4366c2bbb8429e068bf51d8', 'lang': 'zh-CN'}
请求参数：{'fuzzyValue': '漏洞详情场景化项目_扫描完成'}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': {'pageCurrent': 1, 'pageSize': 10, 'pageTotal': 0, 'recordTotal': 0, 'records': []}}
</pre>
                                    </div>
                                    
                                    <div class="tab-pane fade " role="tabpanel" aria-labelledby="home-tab">
                                        <pre style="line-height: 18px">self = <CodesecApi.case.internalApi.test_main_process_scenario.TestCodeSecInternalAPI object at 0x00000299DD39BE30>

    def test_project_list(self):
        print(project_list())
>       records = project_list()['data']['records'][0]
E       IndexError: list index out of range

case\internalApi\test_main_process_scenario.py:241: IndexError</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>101</td>
                    <td class="caseinternalApitest_userpy">case\internalApi\test_user.py</td>
                    <td>TestCodeSecAPI.test_create_sec</td>
                    <td>创建用户_企管用户</td>
                    <td>0.167740</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[31m[1mERROR   [0m ERROR:CodeSecTool.py:270 --------------------------------------------------请求错误：手机号码已经存在。--------------------------------------------------
[31m[1mERROR   [0m ERROR:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/user/create
[31m[1mERROR   [0m ERROR:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImRiNzM1YjFhLWQ2ZjYtNDljZi05MWJmLWY3MDRmODU5ZTA1NyIsImVtYWlsIjoiYWRtaW5Ac2Vjem9uZS5jbiIsInVzZXJuYW1lIjoiYWRtaW5Ac2Vjem9uZS5jbiIsInRva2VuIjoiYTE1ZGJmMTgtMTcxNS00MGIxLTk0OTgtZWYxMmNjN2JiNGNkIiwicm9sZXMiOlsiUk9MRV9yb290Il0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3Jvb3QifV0sInBhc3N3b3JkIjpudWxsfSwic3ViIjoiZGI3MzViMWEtZDZmNi00OWNmLTkxYmYtZjcwNGY4NTllMDU3IiwianRpIjoiYTE2NTlkMmUtYzgwZS00MzQ2LWIwYjItNjMyN2QzZTkwNWEyIn0.jkunmt5pVd3D4mojQug6jBtBuNDD23th3SM4fM7ModZF0Lc0v3V5X0fRpbRvEn3cnAs7xG8c-uFoouCNbGiLAg',
 'lang': 'zh-CN',
 'loginNonce': '4d61932d-eaff-45f8-bd06-ad1a9d8ab58d',
 'sign': '36134bb686cee4f1a89afe75bfa7961d66883916de55b9a044eec451a0990dbd',
 'timestamp': '1727075499069',
 'token': 'a15dbf18-1715-40b1-9498-ef12cc7bb4cd',
 'userId': 'db735b1a-d6f6-49cf-91bf-f704f859e057'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:279 请求参数：
{'confirmPassword': 'f+yrGUXZ/rEFNVNiil+9cbxy1lehZCcpfEE0CvK2EKqtzJHbE4d04K96wH5DMYYX7I7RSQBxJGemIYDbI34ASgTxLWRQracJGDY5CdIp6LIJCKCMpYqPiYpdYPyudvlL3LL8L7ff89DBXIkFCMOZr3suOUrf+2p9JKBXnh5//9u9IvjlfckgeJ8Kvtg0dTS23AfvFwmQsY8vgerfvjTgagc3/QQHE6f8P1HxirdRIQz1P313ItLiqfFMtnPUflLtCio9nlsSIzqZI7wLXOSrpQ3virDagtEJXX8GvdNIDRzaz6wqzTP19bMEl79Sf6Fv/SkhDbnHo/9C2nMTRp2yYg==',
 'countryCode': '+86',
 'groupId': '1',
 'password': 'AO11qPATyM4Aw1D2jgwSMpdZ3u6xSHujY+nAGCrjQfD84UqEEnBy23OCewWpraO3XxrCPyfL0IcQNgKnRXP/3xCZj6DWIGBTpUJHKuuPbb2OG+FFQnj/xNGO3bed88ncvGKPTfoGiEisDdSFElLcgJMN+4nLYefuPRPMr8A5QOIZgzDIsIgCgKv4472GWLuPvL3wm8kvetSSKgkUv5vIWFCZTrs4iObnSOuBoS/+WNqV6CSFM4oq2CWsBTVi2JLYKXfk/G9Vxzw24o/gTcrg/pFb96zrPEWo+/tWldyz4qxf+armOe3l0w3mMr8cZhE8pRSxyB50NWaxfMPxlR48ng==',
 'phoneNum': '',
 'roleId': '2',
 'status': 1,
 'userEmail': 'sec2@seczone.cn',
 'userName': 'sec2'}

[31m[1mERROR   [0m ERROR:CodeSecTool.py:282 返回内容：
{'code': 'B460', 'message': '手机号码已经存在。', 'status': False}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/user/create 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImRiNzM1YjFhLWQ2ZjYtNDljZi05MWJmLWY3MDRmODU5ZTA1NyIsImVtYWlsIjoiYWRtaW5Ac2Vjem9uZS5jbiIsInVzZXJuYW1lIjoiYWRtaW5Ac2Vjem9uZS5jbiIsInRva2VuIjoiYTE1ZGJmMTgtMTcxNS00MGIxLTk0OTgtZWYxMmNjN2JiNGNkIiwicm9sZXMiOlsiUk9MRV9yb290Il0sImVuYWJsZWQiOnRydWUsImFjY291bnROb25FeHBpcmVkIjp0cnVlLCJhY2NvdW50Tm9uTG9ja2VkIjp0cnVlLCJjcmVkZW50aWFsc05vbkV4cGlyZWQiOnRydWUsImF1dGhvcml0aWVzIjpbeyJhdXRob3JpdHkiOiJST0xFX3Jvb3QifV0sInBhc3N3b3JkIjpudWxsfSwic3ViIjoiZGI3MzViMWEtZDZmNi00OWNmLTkxYmYtZjcwNGY4NTllMDU3IiwianRpIjoiYTE2NTlkMmUtYzgwZS00MzQ2LWIwYjItNjMyN2QzZTkwNWEyIn0.jkunmt5pVd3D4mojQug6jBtBuNDD23th3SM4fM7ModZF0Lc0v3V5X0fRpbRvEn3cnAs7xG8c-uFoouCNbGiLAg', 'loginNonce': '4d61932d-eaff-45f8-bd06-ad1a9d8ab58d', 'userId': 'db735b1a-d6f6-49cf-91bf-f704f859e057', 'token': 'a15dbf18-1715-40b1-9498-ef12cc7bb4cd', 'timestamp': '1727075499069', 'sign': '36134bb686cee4f1a89afe75bfa7961d66883916de55b9a044eec451a0990dbd', 'lang': 'zh-CN'}
请求参数：{'groupId': '1', 'userName': 'sec2', 'userEmail': 'sec2@seczone.cn', 'password': 'AO11qPATyM4Aw1D2jgwSMpdZ3u6xSHujY+nAGCrjQfD84UqEEnBy23OCewWpraO3XxrCPyfL0IcQNgKnRXP/3xCZj6DWIGBTpUJHKuuPbb2OG+FFQnj/xNGO3bed88ncvGKPTfoGiEisDdSFElLcgJMN+4nLYefuPRPMr8A5QOIZgzDIsIgCgKv4472GWLuPvL3wm8kvetSSKgkUv5vIWFCZTrs4iObnSOuBoS/+WNqV6CSFM4oq2CWsBTVi2JLYKXfk/G9Vxzw24o/gTcrg/pFb96zrPEWo+/tWldyz4qxf+armOe3l0w3mMr8cZhE8pRSxyB50NWaxfMPxlR48ng==', 'confirmPassword': 'f+yrGUXZ/rEFNVNiil+9cbxy1lehZCcpfEE0CvK2EKqtzJHbE4d04K96wH5DMYYX7I7RSQBxJGemIYDbI34ASgTxLWRQracJGDY5CdIp6LIJCKCMpYqPiYpdYPyudvlL3LL8L7ff89DBXIkFCMOZr3suOUrf+2p9JKBXnh5//9u9IvjlfckgeJ8Kvtg0dTS23AfvFwmQsY8vgerfvjTgagc3/QQHE6f8P1HxirdRIQz1P313ItLiqfFMtnPUflLtCio9nlsSIzqZI7wLXOSrpQ3virDagtEJXX8GvdNIDRzaz6wqzTP19bMEl79Sf6Fv/SkhDbnHo/9C2nMTRp2yYg==', 'roleId': '2', 'phoneNum': '', 'countryCode': '+86', 'status': 1}
响应：{'status': False, 'code': 'B460', 'message': '手机号码已经存在。'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
                <tr class="case_">
                    <td>102</td>
                    <td class="caseinternalApitest_userpy">case\internalApi\test_user.py</td>
                    <td>TestCodeSecAPI.test_create_team2</td>
                    <td>创建用户_团管用户</td>
                    <td>0.178704</td>
                    
                    
                    <td class="text-success">通过</td>
                    
                    
                    <td>
                        <button type="button" class="btn btn_info btn-primary btn-sm">查看详情</button>
                    </td>
                </tr>

                <tr class="test_log">
                    <td colspan="7" class="small text-muted" style=" word-wrap:break-word; word-break:break-all;padding: 0">
                        <div class="card" style="background: rgba(3, 14, 70, 0.5)">
                            <div class="card-body">
                                <ul class="nav nav-tabs" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link active" data-toggle="tab" role="tab" aria-controls="home"
                                           aria-selected="true" style="padding: 0 16px">运行日志</a>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <a class="nav-link" data-toggle="tab" role="tab" aria-controls="profile"
                                           aria-selected="false" style="padding: 0 16px">调试输出</a>
                                    </li>
                                    
                                    

                                </ul>
                                <div class="tab-content" style="height: 300px;overflow-y: auto;padding: 20px">

                                    <div class="tab-pane fade show active" role="tabpanel" aria-labelledby="profile-tab">
                                        <pre style="line-height: 18px">[32mINFO    [0m API:CodeSecTool.py:275 --------------------------------------------------请求成功--------------------------------------------------
[32mINFO    [0m API:CodeSecTool.py:277 请求url：http://192.168.2.229:28081/CodeSecInterfaceService/user/create
[32mINFO    [0m API:CodeSecTool.py:278 请求头：
{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiI4OGI3ZjMzNy1jNmRlLTQ4ZGUtYmRlNy03OTkwYjc1ODFhMmIifQ.-mWnMOgTQMJFVCTp92GiDYxgg7yjxtO_7Vgh9Dvlrwwzd78eoQ3IceFVEJzkFVv1bCASb9l4onTJE1gZpwEBOw',
 'lang': 'zh-CN',
 'loginNonce': 'f35d6dbf-82fe-4a9a-8140-1c2a314af8c7',
 'sign': 'a8debd706960104798521b4864aeb166123bf5e6760f15ac51a5f8cd3923736a',
 'timestamp': '1727075499204',
 'token': '7c595518-3425-4a18-8b99-b61140c14240',
 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf'}

[32mINFO    [0m API:CodeSecTool.py:279 请求参数：
{'confirmPassword': 'f+yrGUXZ/rEFNVNiil+9cbxy1lehZCcpfEE0CvK2EKqtzJHbE4d04K96wH5DMYYX7I7RSQBxJGemIYDbI34ASgTxLWRQracJGDY5CdIp6LIJCKCMpYqPiYpdYPyudvlL3LL8L7ff89DBXIkFCMOZr3suOUrf+2p9JKBXnh5//9u9IvjlfckgeJ8Kvtg0dTS23AfvFwmQsY8vgerfvjTgagc3/QQHE6f8P1HxirdRIQz1P313ItLiqfFMtnPUflLtCio9nlsSIzqZI7wLXOSrpQ3virDagtEJXX8GvdNIDRzaz6wqzTP19bMEl79Sf6Fv/SkhDbnHo/9C2nMTRp2yYg==',
 'countryCode': '+86',
 'groupId': '1',
 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac',
 'pageSize': 10,
 'password': 'AO11qPATyM4Aw1D2jgwSMpdZ3u6xSHujY+nAGCrjQfD84UqEEnBy23OCewWpraO3XxrCPyfL0IcQNgKnRXP/3xCZj6DWIGBTpUJHKuuPbb2OG+FFQnj/xNGO3bed88ncvGKPTfoGiEisDdSFElLcgJMN+4nLYefuPRPMr8A5QOIZgzDIsIgCgKv4472GWLuPvL3wm8kvetSSKgkUv5vIWFCZTrs4iObnSOuBoS/+WNqV6CSFM4oq2CWsBTVi2JLYKXfk/G9Vxzw24o/gTcrg/pFb96zrPEWo+/tWldyz4qxf+armOe3l0w3mMr8cZhE8pRSxyB50NWaxfMPxlR48ng==',
 'roleId': '3',
 'status': 1,
 'userEmail': 'team_autotest99093@seczone.cn',
 'userName': 'team2'}

[32mINFO    [0m API:CodeSecTool.py:282 返回内容：
{'code': 'B200',
 'data': 'b8f03214-b9df-4db8-87c8-d56e31213aaa',
 'message': '成功。',
 'status': True}</pre>
                                    </div>
                                    <div class="tab-pane fade" role="tabpanel" aria-labelledby="contact-tab">
                                        <pre style="line-height: 18px">
请求接口：http://192.168.2.229:28081/CodeSecInterfaceService/user/create 
请求头：{'authorization': 'eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyRGV0YWlsIjp7InVzZXJJZCI6ImZiOWQ2MDMyLWUzZmYtNDM1Ny04YzQyLTE4YTE3ZmQ4NTViZiIsImVtYWlsIjoic2VjQHNlY3pvbmUuY24iLCJ1c2VybmFtZSI6InNlY0BzZWN6b25lLmNuIiwidG9rZW4iOiI3YzU5NTUxOC0zNDI1LTRhMTgtOGI5OS1iNjExNDBjMTQyNDAiLCJyb2xlcyI6WyJST0xFX2dyb3VwYWRtaW4iXSwiZW5hYmxlZCI6dHJ1ZSwiYWNjb3VudE5vbkV4cGlyZWQiOnRydWUsImFjY291bnROb25Mb2NrZWQiOnRydWUsImNyZWRlbnRpYWxzTm9uRXhwaXJlZCI6dHJ1ZSwiYXV0aG9yaXRpZXMiOlt7ImF1dGhvcml0eSI6IlJPTEVfZ3JvdXBhZG1pbiJ9XSwicGFzc3dvcmQiOm51bGx9LCJzdWIiOiJmYjlkNjAzMi1lM2ZmLTQzNTctOGM0Mi0xOGExN2ZkODU1YmYiLCJqdGkiOiI4OGI3ZjMzNy1jNmRlLTQ4ZGUtYmRlNy03OTkwYjc1ODFhMmIifQ.-mWnMOgTQMJFVCTp92GiDYxgg7yjxtO_7Vgh9Dvlrwwzd78eoQ3IceFVEJzkFVv1bCASb9l4onTJE1gZpwEBOw', 'loginNonce': 'f35d6dbf-82fe-4a9a-8140-1c2a314af8c7', 'userId': 'fb9d6032-e3ff-4357-8c42-18a17fd855bf', 'token': '7c595518-3425-4a18-8b99-b61140c14240', 'timestamp': '1727075499204', 'sign': 'a8debd706960104798521b4864aeb166123bf5e6760f15ac51a5f8cd3923736a', 'lang': 'zh-CN'}
请求参数：{'pageSize': 10, 'groupId': '1', 'orgUuid': '00a7b33e-f075-4758-9ef0-d1bb989748ac', 'userName': 'team2', 'userEmail': 'team_autotest99093@seczone.cn', 'password': 'AO11qPATyM4Aw1D2jgwSMpdZ3u6xSHujY+nAGCrjQfD84UqEEnBy23OCewWpraO3XxrCPyfL0IcQNgKnRXP/3xCZj6DWIGBTpUJHKuuPbb2OG+FFQnj/xNGO3bed88ncvGKPTfoGiEisDdSFElLcgJMN+4nLYefuPRPMr8A5QOIZgzDIsIgCgKv4472GWLuPvL3wm8kvetSSKgkUv5vIWFCZTrs4iObnSOuBoS/+WNqV6CSFM4oq2CWsBTVi2JLYKXfk/G9Vxzw24o/gTcrg/pFb96zrPEWo+/tWldyz4qxf+armOe3l0w3mMr8cZhE8pRSxyB50NWaxfMPxlR48ng==', 'confirmPassword': 'f+yrGUXZ/rEFNVNiil+9cbxy1lehZCcpfEE0CvK2EKqtzJHbE4d04K96wH5DMYYX7I7RSQBxJGemIYDbI34ASgTxLWRQracJGDY5CdIp6LIJCKCMpYqPiYpdYPyudvlL3LL8L7ff89DBXIkFCMOZr3suOUrf+2p9JKBXnh5//9u9IvjlfckgeJ8Kvtg0dTS23AfvFwmQsY8vgerfvjTgagc3/QQHE6f8P1HxirdRIQz1P313ItLiqfFMtnPUflLtCio9nlsSIzqZI7wLXOSrpQ3virDagtEJXX8GvdNIDRzaz6wqzTP19bMEl79Sf6Fv/SkhDbnHo/9C2nMTRp2yYg==', 'roleId': '3', 'countryCode': '+86', 'status': 1}
响应：{'status': True, 'code': 'B200', 'message': '成功。', 'data': 'b8f03214-b9df-4db8-87c8-d56e31213aaa'}
</pre>
                                    </div>
                                    
                                    


                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                
            </table>
        </div>

        <div style="height: 200px"></div>
    </div>

</div>




<script type="text/javascript">

    const resulte = {
            "success": `48`,
            "all": `102`,
            "fail": `50`,
            "skip": '3',
            "error": `1`,
            "runtime": '45.466580 S',
            "begin_time": "1727075453.808342",
            "pass_rate": '47.06',
        }
    ;
    const history = [{'success': 48, 'all': 102, 'fail': 50, 'skip': 3, 'error': 1, 'runtime': '45.466580 S', 'begin_time': '2024-09-23 15:10:53', 'pass_rate': '47.06'}];

    var passRate = [];
    var dTime = [];
    history.forEach(function (item, index, array) {
        passRate.push(item.pass_rate);
        dTime.push(item.begin_time)
    });
    if (passRate.length === 1) {
        passRate.unshift(0);
        dTime.unshift(0)
    }

    function char01() {
        let myChart = echarts.init(document.getElementById('char1'));
        let option = {
            color: ['#28a745', '#ffc107', '#dc3545', '#17a2b8'],
            tooltip: {
                trigger: 'item',
                formatter: '{a} <br/>{b}: {c} ({d}%)',
                backgroundColor: 'rgba(3, 14, 70, 0.5)',
                borderColor: '#333',
                textStyle: {
                    color: '#fff',
                    fontSize: "13"
                },
            },
            legend: {
                bottom: "0%",
                // 小图标的宽度和高度
                itemWidth: 10,
                itemHeight: 10,
                data: ['通过', '失败', '错误', '跳过'],
                textStyle: {
                    color: "rgba(255,255,255,.5)",
                    fontSize: "12"
                },
            },
            series: [
                {
                    name: '测试结果',
                    type: 'pie',
                    radius: ['50%', '70%'],
                    avoidLabelOverlap: false,
                    label: {
                        show: false,
                        position: 'center'
                    },
                    emphasis: {
                        label: {
                            show: true,
                            fontSize: '20',
                            fontWeight: 'bold',
                            color: '#fff',
                        }
                    },
                    labelLine: {
                        show: false
                    },
                    data: [
                        {value: resulte.success, name: '通过'},
                        {value: resulte.fail, name: '失败'},
                        {value: resulte.error, name: '错误'},
                        {value: resulte.skip, name: '跳过'}
                    ]
                }
            ]
        };
        myChart.setOption(option)

    }

    char01();

    //    大图
    function char02() {

        // 基于准备好的dom，初始化echarts实例
        let myChart = echarts.init(document.getElementById("char2"));
        // 2. 指定配置和数据
        option = {
            tooltip: {
                trigger: 'axis',
                formatter: '{a} <br/>{b}:  ({c}%)',
                backgroundColor: 'rgba(3, 14, 70, 0.5)',
                borderColor: '#333',
                textStyle: {
                    color: '#fff',
                    fontSize: "13"
                },
            },

            grid: {
                left: "10",
                top: "30",
                right: "10",
                bottom: "0",
                containLabel: true
            },

            xAxis: [{
                type: "category",
                boundaryGap: false,
                show: false,
                axisLabel: {
                    textStyle: {
                        color: "rgba(255,255,255,.6)",
                        fontSize: 12
                    }
                },
                axisLine: {
                    lineStyle: {
                        color: "rgba(255,255,255,.2)"
                    }
                },

                data: dTime
            },
                {
                    axisPointer: {
                        show: false
                    },
                    axisLine: {
                        show: false
                    },
                    position: "bottom",
                    offset: 20
                }
            ],

            yAxis: [{
                type: "value",
                axisTick: {
                    show: false
                },
                axisLine: {
                    lineStyle: {
                        color: "rgba(255,255,255,.1)"
                    }
                },
                axisLabel: {
                    textStyle: {
                        color: "rgba(255,255,255,.6)",
                        fontSize: 12
                    }
                },

                splitLine: {
                    lineStyle: {
                        color: "rgba(255,255,255,.1)"
                    }
                }
            }],
            series: [{
                name: "通过率",
                type: "line",
                smooth: true,
                symbol: "circle",
                symbolSize: 5,
                showSymbol: true,
                lineStyle: {
                    normal: {
                        color: "#0184d5",
                        width: 2
                    }
                },
                areaStyle: {
                    normal: {
                        color: new echarts.graphic.LinearGradient(
                            0,
                            0,
                            0,
                            1,
                            [{
                                offset: 0,
                                color: "rgba(1, 132, 213, 0.4)"
                            },
                                {
                                    offset: 0.8,
                                    color: "rgba(1, 132, 213, 0.1)"
                                }
                            ],
                            false
                        ),
                        shadowColor: "rgba(0, 0, 0, 0.1)"
                    }
                },
                itemStyle: {
                    normal: {
                        color: "#0184d5",
                        borderColor: "rgba(221, 220, 107, .1)",
                        borderWidth: 18
                    }
                },
                data: passRate
            },
            ]
        };
        // 重新把配置好的新数据给实例对象
        myChart.setOption(option);

    }

    char02();

    function char03() {
        // 基于准备好的dom，初始化echarts实例
        let myChart = echarts.init(document.getElementById("char3"));
        var data = [resulte.success, resulte.fail, resulte.error, resulte.skip];
        var titlename = ["通过用例", "失败用例", "错误用例", "跳过用例",];
        var valdata = [resulte.all, resulte.all, resulte.all, resulte.all];
        var myColor = ['#28a745', '#ffc107', '#dc3545', '#17a2b8'];
        option = {
            //图标位置
            grid: {
                top: "10%",
                left: "22%",
                bottom: "10%"
            },
            xAxis: {
                show: false
            },
            yAxis: [{
                show: true,
                data: titlename,
                inverse: true,
                axisLine: {
                    show: false
                },
                splitLine: {
                    show: false
                },
                axisTick: {
                    show: false
                },
                axisLabel: {
                    color: "#fff",

                    rich: {
                        lg: {
                            backgroundColor: "#339911",
                            color: "#fff",
                            borderRadius: 15,
                            align: "center",
                            width: 15,
                            height: 15
                        }
                    }
                }
            },
                {
                    show: false,
                    inverse: true,
                    data: valdata,
                    axisLabel: {
                        textStyle: {
                            fontSize: 12,
                            color: "#fff"
                        }
                    },
                    axisTick: {
                        show: false
                    },
                    axisLine: {
                        show: false
                    },
                }
            ],
            series: [{
                type: "bar",
                yAxisIndex: 0,
                data: data,
                barCategoryGap: 50,
                barWidth: 18,
                itemStyle: {
                    normal: {
                        barBorderRadius: 20,
                        color: function (params) {
                            var num = myColor.length;
                            return myColor[params.dataIndex % num];
                        }
                    }
                },
                label: {
                    normal: {
                        show: true,
                        position: "right",
                        formatter: "{c}条",
                        color: "#fff",

                    }
                }
            },
                {
                    type: "bar",
                    yAxisIndex: 1,
                    barCategoryGap: 50,
                    data: valdata,
                    barWidth: 20,
                    itemStyle: {
                        normal: {
                            color: "none",
                            borderColor: "#00c1de",
                            borderWidth: 2,
                            barBorderRadius: 15
                        }
                    }
                }
            ]
        };

        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
        window.addEventListener("resize", function () {
            myChart.resize();
        });
    }

    char03()

</script>


<script>
    var tbodyTr = $('tbody .case_');
    var testResult = $("#testResult");
    var testClass = $("#testClass");
    <!--    用例执行详细信息显示切换-->
    $(".btn_info").click(function () {
        $(this).parent().parent().next().toggle();

    });
    // 当选择用例类之后触发
    testClass.change(function () {
        $('.test_log').hide();
        var cls = $(this).val();
        var res = testResult.val();
        elementDisplay(cls, res);
        sort()
    });
    testResult.change(function () {
        var res = $(this).val();
        var cls = testClass.val();
        elementDisplay(cls, res);
        sort()
    });

    function elementDisplay(cls, res) {
        // 用例数据的显示
        if (cls === "所有") {
            if (res === "所有") {
                tbodyTr.has('button').show();
            } else if (res === '成功') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-success').show()

            } else if (res === '错误') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-danger').show()

            } else if (res === '失败') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-warning').show()

            } else if (res === '跳过') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.text-info').show()
            }
        } else {
            if (res === "所有") {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').show()
            } else if (res === '成功') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-success').show()
            } else if (res === '错误') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-danger').show()
            } else if (res === '失败') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-warning').show()
            } else if (res === '跳过') {
                tbodyTr.hide();
                tbodyTr.has('button').has('.' + cls + '').has('.text-info').show()
            }
        }
    }

    function sort() {
        //重新排列显示序号
        // 选择所有可以见的tr
        var visibleTr = tbodyTr.filter(":visible");

        visibleTr.each(function (index, element) {
            element.firstElementChild.innerHTML = index + 1;

        })

    }

    $('.nav-tabs li').click(function () {
        $(this).find('a').addClass('active');
        $(this).siblings().find('a').removeClass('active');
        $(this).parent().next().children('.tab-content div').eq($(this).index()).addClass('active show').siblings().removeClass('active show')
    });

</script>


</body>
</html>